mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-03 19:23:44 +00:00 
			
		
		
		
	xvideos: Capture only the video title, not the name of the site.
This commit is contained in:
		
							parent
							
								
									9f47175a40
								
							
						
					
					
						commit
						0f9b77223e
					
				@ -3432,7 +3432,7 @@ class XVideosIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		# Extract title
 | 
			
		||||
		mobj = re.search(r'<title>(.*?)</title>', webpage)
 | 
			
		||||
		mobj = re.search(r'<title>(.*?)\s+-\s+XVID', webpage)
 | 
			
		||||
		if mobj is None:
 | 
			
		||||
			self._downloader.trouble(u'ERROR: unable to extract video title')
 | 
			
		||||
			return
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user