elementdavv / internet_archive_downloader

A chrome/firefox extension that download books from Internet Archive(archive.org) and HathiTrust Digital Library (hathitrust.org)
GNU General Public License v3.0
161 stars 17 forks source link

Internet Archive Downloader

Internet Archive holds more than 34 millions books. Some books are permitted to read online by borrowing for a limit period. With the extension, the borrowed books can be downloaded for offline reading.

HathiTrust Digital Library is also supported. All books with full view permission can be downloaded.

The extension works by fetching every leaf of a book, constructing a PDF stream on the fly targeting to disk storage. So it consumes only a little RAM resource and can handle books of thousands of leafs easily.

Features

Install

For Chrome, Edge, Brave, etc:

For Firefox:

Alternatively, install automatically from their repositories:

Usage

Internet Archive:

In archive.org, the availability of books lies in three categories: 1) Lending Library 2) Borrow 14 days 3) Always Available

The extension works with category 1 and 2.

After borrowing a book, two new buttons, "Quality" and "Download", appear under the book viewer alongside the "Favorite" button.

* To get the current book as a PDF file, press the "Download" button. * To get each leaf as a JPEG file, press the "Download" button while holding Ctrl key (Command key on Mac). * To get only a range of leafs, press the "Download" button while holding Alt key (Option key on Mac), then input a range. After successful downloads, the book will be returned automatically for availability to other users. ### HathiTrust: No login, no borrows required. In [hathitrust.org](https://hathitrust.org), for books with full view permission, a new section, "Ayesha", appears above the "Download" section on the left-hand side of the page. The section contains three buttons, "Quality", "Tasks" and "Download". * To get the current book as a PDF file, press the "Download" button. * To get each leaf as a JPEG/PNG file, press the "Download" button while holding Ctrl key (Command key on Mac). * To get only a range of leafs, press the "Download" button while holding Alt key (Option key on Mac), then input a range. The download process may take some breaks due to server constraints. ## Availability * Chromium family(Chrome, Edge, Brave, Vivaldi, Opera, Yandex, Kiwi, etc) version 90+ supported * Firefox version 115+ supported * For Brave below version 1.67.119, item 'File System Access API' on the 'brave://flags' page should be enabled. ## License [GPL3](LICENSE) ©Element Davv Any questions and/or suggestions are appreciatiated. ## Donation If you found the extension helpful consider supporting me with a coffee .