mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-03-17 21:42:22 +09:00
change error into warning for blank title #1391
This commit is contained in:
parent
bd8e5c7ca2
commit
0014e77850
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user