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

[request] Improve handling of failed download in batch mode #28

Closed
zoredache opened this issue Dec 3, 2010 · 2 comments
Closed

[request] Improve handling of failed download in batch mode #28

zoredache opened this issue Dec 3, 2010 · 2 comments
Labels

Comments

@zoredache
Copy link

Lets say I am downloading a set of files via --batch-file. and my Internet connection drops for a short time in the middle. The transfer seems to fail and leave a half-complete file, that you won't know about except by looking through the logs or by watching the video.

It seems like this could be easily accomplished by downloading using a temporary filename, and only renaming to the correct name after the download has succeeded.

@rg3
Copy link
Collaborator

rg3 commented Dec 4, 2010

Try the head revision and tell me any problems you find, please. Thanks in advance.

@zoredache
Copy link
Author

Seems to be working so far. Thanks for doing this so quickly.

joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from rg3:master
tsukumijima pushed a commit to tsukumijima/youtube-dl that referenced this issue Dec 2, 2020
In the event when there are no available sources due to DRM controlled sources, return a DRM error and don't proceed with trying.

ytdl-org#28 reports that an ExtractorError "No video formats found". Which is true, because the formats list is empty, however it's empty because they are all locked. This provides a more informative message to the end-user.

# TESTING
Tried the URL provided in ytdl-org#28 and confirmed a DRM messages is returned.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants