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

Youtube-dl should keep continue to download next video if one of the video on the playlist is failed #698

Closed
kokizzu opened this issue Feb 21, 2013 · 8 comments

Comments

@kokizzu
Copy link

@kokizzu kokizzu commented Feb 21, 2013

for example if we download a playlist containing 100 videos, and the second one has an error (timeout or ERROR: unable to download video webpage: HTTP Error 404: Not Found), it should continue to next video instead of stopping the whole program

@phihag
Copy link
Contributor

@phihag phihag commented Feb 21, 2013

Simply pass in -i. I'm not sure that making that the default is a sensible option - we have discussed it before, and it may be the default one day.

@phihag phihag closed this Feb 21, 2013
@mihajlo
Copy link

@mihajlo mihajlo commented Apr 21, 2016

example to be more clear:

youtube-dl -f bestaudio --audio-quality 0 --audio-format mp3 -i -x --extract-audio https://www.youtube.com/playlist?list=PLa8z0Y9At06iw3PbaAepPJdwv2gXA1YET

@lucidyan
Copy link

@lucidyan lucidyan commented Dec 30, 2016

Make it default please. Big luck that I found this thread!

@Hrxn
Copy link

@Hrxn Hrxn commented Dec 30, 2016

It's right here: https://github.com/rg3/youtube-dl#options

And right at the top if you do youtube-dl -h

@laurent22
Copy link

@laurent22 laurent22 commented Apr 3, 2017

It would be better if it was a default, last time I googled this I found nothing and gave up. I think most Unix programs that deal with a lot of files continue even after an error, eg. rsync. If the concern is that the user might not see the errors, maybe they should be buffered and printed in full at the end of the process.

@laurent22
Copy link

@laurent22 laurent22 commented Apr 3, 2017

Alternatively, maybe a good compromise would be to mention the required flag in the error message. For example:

ERROR: hCpFeE68Yjg: YouTube said: This video is private. (Use the -i flag to ignore this error)

@Purgator
Copy link

@Purgator Purgator commented May 24, 2017

I agree with the default or at least warning, but it should be default. Why you should expect to get only some videos but not some others ? That not having sense to me.
Thx for opening this issue btw, I was about to get mad :o

@yarwelp
Copy link

@yarwelp yarwelp commented May 26, 2017

Make it default and make youtube-dl list the videos that failed to download at the end and exit non-zero.

@ytdl-org ytdl-org locked and limited conversation to collaborators May 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.