From 0014e778509f718dcdb05f7868bf9f5f39d32abe Mon Sep 17 00:00:00 2001 From: Charley Peng Date: Wed, 2 Oct 2013 14:39:35 +1000 Subject: [PATCH] change error into warning for blank title #1391 --- youtube_dl/extractor/youtube.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 6580d8bf8..d57d9c8a2 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1335,7 +1335,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): # title if 'title' not in video_info: - raise ExtractorError(u'Unable to extract video title') + video_info['title'] = " " + print "Warning: Title was not found" + # raise ExtractorError(u'Unable to extract video title') video_title = compat_urllib_parse.unquote_plus(video_info['title'][0]) # thumbnail image