mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
Allow empty titles because they do appear in some videos (fixes issue #53)
This commit is contained in:
parent
850ab76560
commit
583c714fde
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ class YoutubeIE(InfoExtractor):
|
|||
video_uploader = urllib.unquote(mobj.group(1))
|
||||
|
||||
# title
|
||||
mobj = re.search(r'(?m)&title=([^&]+)(?:&|$)', video_info_webpage)
|
||||
mobj = re.search(r'(?m)&title=([^&]*)(?:&|$)', video_info_webpage)
|
||||
if mobj is None:
|
||||
self._downloader.trouble(u'ERROR: unable to extract video title')
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue