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

How can youtube-dl automatically retry after "did not get any data blocks" error? #25038

Closed
sofakng opened this issue Apr 27, 2020 · 0 comments
Closed

Comments

@sofakng
Copy link

@sofakng sofakng commented Apr 27, 2020

I'm trying to use youtube-dl to download videos and I'm randomly getting an error:

ERROR: Did not get any data blocks

However, 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.

@sofakng sofakng added the question label Apr 27, 2020
@dstftw dstftw closed this Apr 28, 2020
@dstftw dstftw added the duplicate label Apr 28, 2020
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.