mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
parent
bd8e5c7ca2
commit
a8c6b24155
@ -1334,9 +1334,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
|||||||
self._downloader.report_warning(u'unable to extract uploader nickname')
|
self._downloader.report_warning(u'unable to extract uploader nickname')
|
||||||
|
|
||||||
# title
|
# title
|
||||||
if 'title' not in video_info:
|
if 'title' in video_info:
|
||||||
raise ExtractorError(u'Unable to extract video title')
|
|
||||||
video_title = compat_urllib_parse.unquote_plus(video_info['title'][0])
|
video_title = compat_urllib_parse.unquote_plus(video_info['title'][0])
|
||||||
|
else:
|
||||||
|
self._downloader.report_warning(u'Unable to extract video title')
|
||||||
|
video_title = u'_'
|
||||||
|
|
||||||
# thumbnail image
|
# thumbnail image
|
||||||
# We try first to get a high quality image:
|
# We try first to get a high quality image:
|
||||||
|
Loading…
Reference in New Issue
Block a user