1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 19:47:54 +01:00

Allow empty titles because they do appear in some videos (fixes issue #53)

This commit is contained in:
Ricardo Garcia 2009-09-21 20:39:51 +02:00
parent 850ab76560
commit 583c714fde

View File

@ -719,7 +719,7 @@ class YoutubeIE(InfoExtractor):
video_uploader = urllib.unquote(mobj.group(1)) video_uploader = urllib.unquote(mobj.group(1))
# title # title
mobj = re.search(r'(?m)&title=([^&]+)(?:&|$)', video_info_webpage) mobj = re.search(r'(?m)&title=([^&]*)(?:&|$)', video_info_webpage)
if mobj is None: if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract video title') self._downloader.trouble(u'ERROR: unable to extract video title')
return return