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

Continue to next video on error in playlist #8305

Closed
camsteffen opened this issue Jan 23, 2016 · 3 comments
Closed

Continue to next video on error in playlist #8305

camsteffen opened this issue Jan 23, 2016 · 3 comments

Comments

@camsteffen
Copy link

@camsteffen camsteffen commented Jan 23, 2016

When I tried to download a playlist, the first video failed because it has been removed from YouTube but the rest of the videos in the playlist should download.

$ youtube-dl https://www.youtube.com/playlist?list=PLg4aSwO3XsLv8-qsyQeQcFDhL_k04wMPj -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/playlist?list=PLg4aSwO3XsLv8-qsyQeQcFDhL_k04wMPj', u'-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.01.23
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-76860-g72eaf72, ffprobe N-76860-g72eaf72
[debug] Proxy map: {}
[youtube:playlist] PLg4aSwO3XsLv8-qsyQeQcFDhL_k04wMPj: Downloading webpage
[download] Downloading playlist: Punch Brothers WHO'S FEELING YOUNG NOW ? New Full Album
[youtube:playlist] playlist Punch Brothers WHO'S FEELING YOUNG NOW ? New Full Album: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] cgph-dr8W_A: Downloading webpage
[youtube] cgph-dr8W_A: Downloading video info webpage
ERROR: cgph-dr8W_A: YouTube said: "Punch Brothers - Movement A..."
This video is no longer available due to a copyright claim by Warner Music Group.
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 666, in extract_info
  File "youtube_dl\extractor\common.pyo", line 313, in extract
  File "youtube_dl\extractor\youtube.pyo", line 1226, in _real_extract
ExtractorError: cgph-dr8W_A: YouTube said: "Punch Brothers - Movement A..."
This video is no longer available due to a copyright claim by Warner Music Group.
@AndroKev
Copy link
Contributor

@AndroKev AndroKev commented Jan 23, 2016

use the " -i, --ignore-errors Continue on download errors, for example to skip unavailable videos in a playlist" option

youtube-dl https://www.youtube.com/playlist?list=PLg4aSwO3XsLv8-qsyQeQcFDhL_k04wMPj -v -i

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 23, 2016

As mentioned by @AndroKev use -i to skip errors.

@dstftw dstftw closed this Jan 23, 2016
@camsteffen
Copy link
Author

@camsteffen camsteffen commented Jan 25, 2016

Could we add a hint to the output when an error occurs and there are queued videos?
Hint: use the -i flag to continue on download errors

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
3 participants
You can’t perform that action at this time.