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

[Feature request] Network retry, with configurability #16883

Closed
vlakoff opened this issue Jul 1, 2018 · 2 comments
Closed

[Feature request] Network retry, with configurability #16883

vlakoff opened this issue Jul 1, 2018 · 2 comments

Comments

@vlakoff
Copy link

@vlakoff vlakoff commented Jul 1, 2018

I just ran some large youtube-dl scripts, and noticed a few videos were missing finally.

This was probably due to intermittent network downtimes, and apparently youtube-dl doesn't do any network retry at all (I may be wrong).

Thus, I suggest adding an option named for example --network-retry, related to --socket-timeout. The default would be 0 to keep the current youtube-dl behavior, and I could configure it to something like 5.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 1, 2018

-R, --retries RETRIES            Number of retries (default is 10), or
                                 "infinite".
--fragment-retries RETRIES       Number of retries for a fragment (default
                                 is 10), or "infinite" (DASH, hlsnative and
                                 ISM)
@dstftw dstftw closed this Jul 1, 2018
@vlakoff
Copy link
Author

@vlakoff vlakoff commented Jul 1, 2018

Guess I was too much in a hurry. Thanks :)

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.