You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to automate the download of some Hitomi.la galleries, but I've noticed that I get a few 404 errors every now and again. Once they start appearing all downloads from that point on will fail with the same error.
I'm okay with stopping the process and trying again later, but I noticed that's not what happens by default - gallery-dl will continue to download everything on my list until it reaches the end of my text file. I looked into the options listed in --help, and I changed my command to this:
gallery-dl -T 1 -i <path_to_textfile>
But gallery-dl continues to execute even with sequential 404 errors:
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://ba.hitomi.la/webp/...'
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://ba.hitomi.la/webp/...'
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://aa.hitomi.la/webp/...'
Is this not the intended behaviour for the terminate option? If not, how can I get gallery-dl to completely stop as soon as it encounters an error for the first time?
The text was updated successfully, but these errors were encountered:
You've encountered a bug caused by gallery-dl caching certain values indefinitely, even though those expire after 1-2h. This is fixed in 946643c.
-T/--terminate works more or less like -A/--abort in that it stops when a file is already present on disk or in a download archive and its download gets skipped.
There is currently no option to stop after an error.
I'm trying to automate the download of some Hitomi.la galleries, but I've noticed that I get a few 404 errors every now and again. Once they start appearing all downloads from that point on will fail with the same error.
I'm okay with stopping the process and trying again later, but I noticed that's not what happens by default - gallery-dl will continue to download everything on my list until it reaches the end of my text file. I looked into the options listed in --help, and I changed my command to this:
gallery-dl -T 1 -i <path_to_textfile>
But gallery-dl continues to execute even with sequential 404 errors:
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://ba.hitomi.la/webp/...'
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://ba.hitomi.la/webp/...'
[download][error] Failed to download hitomi_XXX.webp
[downloader.http][warning] '404 Not Found' for 'https://aa.hitomi.la/webp/...'
Is this not the intended behaviour for the terminate option? If not, how can I get gallery-dl to completely stop as soon as it encounters an error for the first time?
The text was updated successfully, but these errors were encountered: