mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:57:35 -05:00 
			
		
		
		
	Allow empty titles because they do appear in some videos (fixes issue #53)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user