首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从OpenLibrary中保存借来的书籍

从OpenLibrary中保存借来的书籍
EN

Software Recommendation用户
提问于 2014-11-29 09:35:24
回答 1查看 2.1K关注 0票数 2

OpenLibrary的借来的书籍只是简单的jpgs,可以很容易地下载和保存--但是手工操作有点痛苦。

是否有软件可以一个一个地下载jpgs并将它们保存到磁盘上?

编辑:所有文件都包含在一个单独的压缩文件中,但只能单独查看--如果有一种方式我不需要一直更改编号并自己下载文件--那就太棒了。

EN

回答 1

Software Recommendation用户

发布于 2022-06-21 22:16:47

无论是旧版本的FF,还是当前版本的Chrome或IDM,似乎都认为页面是可以保存的图像。我尝试了一些“缓存查看器”实用程序,比如来自Nirsoft的实用程序,并取得了一些成功,但所有的页面似乎都没有始终保存在浏览器缓存中。

我所能做的最好的就是一个以MS为浏览器的AutoHotKey脚本。它有点慢(大约20 ppm),因为页面加载必须有一些延迟。Edge似乎确实允许页面成为可以从UI中保存的图像,而Chrome和FF则不这样做。

代码语言:javascript
复制
/*
"Borrow" the book to be exported in MS Edge.
With the book open, in the lower right switch to "one page view"
Note the total number of pages and be sure you are on page 1
  [Or move to the page at which you want to start exporting]
Suggest maximizing the browser
With the mouse pointer over the page image, hit Ctrl+j.
Enter the number of pages to export and click ok/Enter
Navigate to the folder where you want to save the page images, creae a new one if needed
Click Save
At this point the script should start sending keystrokes to export the pages
  [Note the script relies on MS Edge being the active window, so the mouse
   pointer should remain over the book page image during script execution]
Occasionally a page will not load fast enough (the script allows 1.5 seconds), in that case you will
  see a popup menu with "Load image" at the top.  Select that, then right-click over the page again
  and select "Save image as ...".  The script should continue executing with the page it has paused at.
*/

#NoEnv
SendMode Input

^j::
  InputBox, pages, , Number of pages?
  if (not ErrorLevel) and (pages is digit)
  {
    prompted = FALSE
    Loop, %pages%
    {
      Click Right
      Sleep, 400
      Send, v
      WinWaitActive, Save As
      if prompted = TRUE
        Send, {enter}
      Else
      {
        WinWaitClose, Save As
        prompted = TRUE
      }
      Sleep, 1000
      Send, {right}
      Sleep, 1500
    }
  }
  Return
票数 2
EN
页面原文内容由Software Recommendation提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://softwarerecs.stackexchange.com/questions/14287

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档