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

Make retry cont configurable #29

Closed z3rone closed 3 months ago

z3rone commented 8 months ago

I widness a lot of chunks that only download after 2nd try in the console log. It would be great if I could set a larger retry limit than 3 because this is reached quite often for me.

dinkc64 commented 7 months ago

This the exact reason downloads fail for some, I wasted a derpload of time re-trying and re-trying... Today I got curious and examined the code, content1.js, const TRYLIMIT = 3; // each leaf retry limit

I changed this to: const TRYLIMIT = 13; // each leaf retry limit

And now it never fails while downloading a book. yay!