From 583c714fdebdc8d0c3234aba2343803057d99e38 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Mon, 21 Sep 2009 20:39:51 +0200 Subject: [PATCH] Allow empty titles because they do appear in some videos (fixes issue #53) --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 03609e22c..f57343ea8 100755 --- a/youtube-dl +++ b/youtube-dl @@ -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 -- 2.22.2