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.
Downloading audio from youtube video fails with timeout, no retries #25183
Comments
|
Sorry, of which bug is this a duplicate? I didn't find anything suitable. |
Checklist
Verbose log
Description
When downloading the audio (with flag
-x) of youtube videos, sometimes the download freezes after advancing by a few percentages, until it times out, ignoring any settings in--retriesand--fragment-retries(it ignored my requests forinfinite). Instead of waiting for the timeout to occur (in the above log it froze for several minutes at 10.1%), I resort to Ctrl-C-ing and rerunning the command, letting it advance until it freeze, and running it again.In a recent attempt to download,
youtube-dltries to download themp4file when it froze.However, in one of my attempts to rerun the command, youtube-dl suddenly decided to download a
webmfile, which went without a hitch. Is this because youtube suddenly made available a different audio format? I didn't run--list-formatsbefore and after to verify.There are several issues as I see it:
youtube-dldoesn't seem to retry the download, and I have to resort to doing manually.