mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 07:27:15 +08:00
Ignore download errors because they can interrupt downloading all user videos.
This commit is contained in:
parent
549f25758b
commit
afef7c1599
@ -2044,7 +2044,10 @@ class YoutubeUserIE(InfoExtractor):
|
||||
self._downloader.to_screen("[youtube] user %s: Collected %d video ids" % (username, len(video_ids)))
|
||||
|
||||
for video_id in video_ids:
|
||||
self._youtube_ie.extract('http://www.youtube.com/watch?v=%s' % video_id)
|
||||
try:
|
||||
self._youtube_ie.extract('http://www.youtube.com/watch?v=%s' % video_id)
|
||||
except DownloadError:
|
||||
continue
|
||||
|
||||
class PostProcessor(object):
|
||||
"""Post Processor class.
|
||||
|
Loading…
x
Reference in New Issue
Block a user