-
-
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] Print progress information while downloading media #1519
Comments
I'd guess >90% of all downloads made by gallery-dl take less than 1 second and >99% less than 5 seconds, so I wouldn't consider this all that necessary. Maybe in v1.18.0 or v2.0.0.
It's a command-line program that is meant to do its thing without user input.
It does, depending on
Well, yeah, it is there to enable debug output and not for everyday use. |
Reason of why i opened this feature request:- I have a project called Media Downloader[1] and i was thinking of adding your project as one of its supported extensions[2] after discovering it a few days ago when it was mentioned here[3] and my project currently does not behave well with tools that do not print anything upfront. I did not know the usual download times is only a few seconds [1] https://github.com/mhogomchungu/media-downloader [2] https://github.com/mhogomchungu/media-downloader/tree/main/extensions [3] https://www.reddit.com/r/youtubedl/comments/n2oqjj/is_there_similar_program_for_instagram_need_one/ |
Newgrounds' downloads are notable slow. For this it would be nice to have. |
If i can add to this post, i downloaded a 3MB video file from instagram and the download took more than a minute and its not a good GUI experience to hang for that longwithout showing a user any progress. This is not a good user experience even when running manually from the terminal.
The above output shows the download started at |
It does not work when std out is not a terminal and progress report does not show up there. Tested with version 1.24.1. example test
Look inside the generated "out" text file and only the file name will be in it |
Download progress goes to stderr and with default settings it only shows after 3 seconds. gallery-dl/docs/gallery-dl.conf Line 381 in 41bf236
|
There seems to be a problem with how std err is being used in combination with std out My findings are below with default options. URL = https://2chen.moe/assets/images/src/1f58e66e7972cebece1d016342b7fb985eb23f1a.webm Below commands works as expected and progress is seen on the terminal and file name are both seen on the terminal.
Below command works as expected, progress is added to err file and file name is printed on the terminal
Below command does not work, nothing is written to err file and file name is written in out file.
Below command does not work, progress is not written to the output file, only file name is added.
|
When stdout is not a TTY and |
Below command seems to work
The out file now contains below output
|
Currently, the app appears to just hang while its downloading media and then prints the name of the downloaded file and quits and this is not a good user experience.
It would be nice if the app will print progress info while its downloading something and useful info to print are:-
It will also be nice if the file name is printed as the first output and not the last.
The "-v" option has info that are not useful to end users.
The text was updated successfully, but these errors were encountered: