Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--retries does not retry on "ERROR: content too short" #6043
Comments
|
Duplicate of #809. |
|
Sorry; I looked through open issues, but missed that one. Thanks. |
|
Note that sometimes other formats can be downloaded (use |
|
I haven't encountered any videos that permanently give that error, only videos that sometimes give that error while downloading, and then get further or finish on retry. |
The documentation for --retries says that the default is 10. However, I sometimes get errors of the form "ERROR: content too short", and those cause youtube-dl to stop rather than retrying. (Tends to happen more on long videos.) Re-running youtube-dl completes the download, or at least gets further before stopping.
Ideally, youtube-dl should retry on that error, as many times as specified by --retries, before giving up.