-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature request] Option to wait indefinitely when gallery-dl detects not everything can be downloaded #3338
Comments
what do you mean by this |
Case I ran into: The login cookie that gallery-dl was using was expired and couldn't get mature scraps on deviantart So the idea is that gallery-dl would say "you need to login again" or something, then I log in ("fix it") and gallery-dl continues Yeah my writing tends to break down when doing feature requests. Gonna go in and edit the post for clarity now |
yeah, now i see it. but this kind of feature is kind of unnecessary for now isnt it |
How come ? |
I think this could be implemented in general by having an option that triggers certain actions for logging messages/exceptions. Maybe something like "option-name": {
"warning:*cookies*": "wait",
"error:Unable to *": "abort"
}
Waiting for user input is just Waiting for user input while running is also not something a command line should ever do. In general you'd throw an error, exit the process, and let the user restart. |
Someone's got to have solved the problem of "accept user input or continue after 5 seconds". Put that in a while loop and then you're good And yeah, trying to hot-reload cookies seems impossible to do without modifying every extractor it applies to... This whole thing should probably wait for 2.0 if it ever happens |
[Revised for clarity]
The request should be simple to add: When gallery-dl can't download something, tell the user and then wait for a new login cookie or for the post to be paid for or whatnot
The config might look a bit like this:
However it's implemented, I think the user should be able to press enter in the console to continue anyway. That part may be complicated.
It's definitely not required and should probably wait for gdl 2.0, but it'd be neat if this could run user-specified commands like a postprocessor. Seems like this'd be something users would want a phone notification for
...Web UI...
The text was updated successfully, but these errors were encountered: