eze icon indicating copy to clipboard operation
eze copied to clipboard

Issue while downloading massive gallery

Open fullmetal1 opened this issue 8 years ago • 2 comments

Trying to download galleries larger than your alloted bandwidth results in an error.

After waiting for the cool down to finish, and manually resuming the download, it quickly skips through all the remaining files, indicating that it has downloaded each one, but never being in the process of downloading. After the download finishes, all the files that were 'downloaded' after the cool down are just text files with "Invalid token" as their content.

https://exhentai.org/g/770497/c57d6fc405/

An example of a gallery for which the bug occurs.

I have downloading through the H@H network enabled, which is what I suspect may be causing the issue

fullmetal1 avatar Sep 05 '16 03:09 fullmetal1

As a general note to myself: This problem occurs because the image URLs are fetch beforehand. On large galleries, the tokens related to these URLs expire by the time they actually start downloading.

Example of a response I've recieved:

An error has occurred. (403)

Not sure how easy this is to fix, given the sloppy architecture of the downloader.

dnsev-h avatar Sep 24 '16 02:09 dnsev-h

Hmmm, well I guess the easiest way would be just to download until it 404's, then periodically (after cooldown) try to refetch the other URLs.

fullmetal1 avatar Nov 13 '17 04:11 fullmetal1