elementdavv / internet_archive_downloader

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

Download fails with "page not found" when there is clearly a page there. #2

Closed glowysourworm closed 1 year ago

glowysourworm commented 1 year ago

Use Case: Try downloading "Possibilities" by "David Graeber". It should fail at page 475 with a dialog.

elementdavv commented 1 year ago

the page info of this book is different than others. version 0.3.2 can handle that situation. please have a try.

glowysourworm commented 1 year ago

Hmm, well it seems to work now. Thanks buddy! Is there any way to know how the quality adjuster should be working? I noticed you have the "paper sizes" in your code for A4, A5, etc... If there was a faster way to adjust the PDF zoom - it would be nice because perhaps the selector could be to quickly adjust the zoom settings prior to download (?) Nice work!

elementdavv commented 1 year ago

i do not work with paper size. i get only what archive.org provides. most books are in three qualities, rarely in two or four. to check effect of each quality, just use zoom in/out button. beware that the zoom levels does not correspond to qualities one to one. when zoom in, if the page displayed immediately, means that they are the same quality.

glowysourworm commented 1 year ago

Sure thing, I'll have to take a look. Thanks for all your work!