Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[twitter] prevent downloading of smaller images in case of 504 errors #1770

Closed
Doofy420 opened this issue Aug 14, 2021 · 3 comments
Closed

Comments

@Doofy420
Copy link

Like the title says, gallery-dl falls back to progressively smaller images until it succeeds. Is there a setting to disable this behavior? Like, just skip the image after x amount of retries. I find that manually retrying the download works most of the time.

@Doofy420
Copy link
Author

@mikf Could we get a confirmation on how "fallback": false would work? Does it skip that one problematic image or does it skip the user profile entirely? I should probably test this more but it resulted in the latter for one of my ripped profiles

@mikf
Copy link
Owner

mikf commented Aug 23, 2021

Each Twitter image has several "fallback" URLs, the "progressively smaller images", in case the main download fails (#237). "fallback": true allows gallery-dl to use them and you get those Trying fallback URL #N logging entries. "fallback": false immediately goes to Failed to download X and doesn't consider using fallback URLs.
It only affects the download process of individual files and should not result in an entire user profile getting skipped.

@Doofy420
Copy link
Author

Alright, thanks for clarifying. It might have been the same issue as #1792 (I was using --abort 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants