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.
I'm trying to use youtube-dl to download videos and I'm randomly getting an error:
ERROR: Did not get any data blocksHowever, if I restart youtube-dl, it appears to resume downloading and doesn't need to restart from the beginning of the file. The only problem is that youtube-dl doesn't automatically retry (resume) the download. I need to restart the application a couple of times until it finally completes successfully.
Can I have youtube-dl automatically to restart/resume the download for a certain number of attempts? The command-line arguments --retries and --fragment-retries do not work.