Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elementdavv committed May 9, 2023
1 parent 56f7170 commit dc07256
Show file tree
Hide file tree
Showing 9 changed files with 210 additions and 202 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Internet Archive downloader

There are many tons of books on Internet Archive(archive.org) available for public. Some books are only for borrowing or lending that can only be read online. This extension let you download these books to read offline.
There are many tons of books on Internet Archive(archive.org) available for public. Some books are for borrowing or lending that can only be read online. This extension let you download these books as PDF to read offline.

The extension works by retriving every page of a book after borrowing and combining them to a file. So it does not break the rules of the website of archive.org. The pages of a book are not processed in memory, instead each page on successful retrival is feeded to a file stream on local disk. So it can handle almost unlimited size of file with minimal impact on memory.

## Install
Get the release file, unzip to a directory. Then from Extension Manager of Browsers, click "Load unpacked" button and select the extracted directory.

Or install from Browser Extension Repository:
Or install from Browser Extension Repository(not always up to date):

[Chrome WebStore](https://chrome.google.com/webstore/detail/internet-archive-download/keimonnoakgkpnifppoomfdlkadghkjb)

[Microsoft Addons](https://microsoftedge.microsoft.com/addons/detail/internet-archive-download/cnpoedgimjaecinmgfnfhfmcpcngeeje)

## Usage
After borrowing or lending a book on archive.org, two new buttons named "Quality" and "Download" will appear under the book reading window, just beside the "Favorite" button.
After borrowing or lending a book on archive.org, two new buttons read "Quality" and "Download" will appear under the book reading window, beside the "Favorite" button.

To download the current book, Click the "Download" button. With download begins, the button will turn into a progress bar.

Every book has different page quality levels available. To choose a level, Click the stars on the "Quality" button. The more stars the higher quality, so larger book size, but taking longer to download. The default selection is the highest quality.
Every book has different page quality levels available. To choose a level, Click the stars on the "Quality" button. The more stars the higher quality, and the larger file size, so taking longer to download. The default selection is the highest quality.

After click the "borrow for 1 hour" button.
After clicking the "borrow for 1 hour" button.

<image src="resources/borrow.png">

Expand Down
Binary file modified resources/borrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"description": { "message": "Download PDF books from archive.org" }
, "title": { "message": "archive.org PDF Books Downloader" }
, "pagenotfounderror": { "message": "Error: Book info not found. Refresh and try again." }
, "alerterror": { "message": "$1.\nPlease contact the developer." }
, "confirmstop": { "message": "Would you like to stop? It needs a little while to stop completely." }
, "title": { "message": "Internet Archive Downloader" }
, "alerterror": { "message": "$1\nPlease contact the developer." }
, "confirmstop": { "message": "Would you like to quit immediately?\nIt will need a little while to clean up." }
, "fetchfail": { "message": "Page $1 status $2" }
, "download": { "message": "Download" }
, "downloading": { "message": "Downloading" }
Expand Down
1 change: 1 addition & 0 deletions src/js/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*
* Distributed under terms of the GPL3 license.
*/

(function(){
'use strict';

Expand Down
Loading

0 comments on commit dc07256

Please sign in to comment.