mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 03:33:46 +00:00 
			
		
		
		
	[xvideos] Fix thumbnail extraction (closes #15978)
This commit is contained in:
		
							parent
							
								
									0b4bbcdcb6
								
							
						
					
					
						commit
						0669f8fd8f
					
				@ -58,7 +58,9 @@ class XVideosIE(InfoExtractor):
 | 
			
		||||
            group='title') or self._og_search_title(webpage)
 | 
			
		||||
 | 
			
		||||
        thumbnail = self._search_regex(
 | 
			
		||||
            r'url_bigthumb=(.+?)&', webpage, 'thumbnail', fatal=False)
 | 
			
		||||
            (r'setThumbUrl\(\s*(["\'])(?P<thumbnail>(?:(?!\1).)+)\1',
 | 
			
		||||
             r'url_bigthumb=(?P<thumbnail>.+?)&'),
 | 
			
		||||
            webpage, 'thumbnail', fatal=False, group='thumbnail')
 | 
			
		||||
        duration = int_or_none(self._og_search_property(
 | 
			
		||||
            'duration', webpage, default=None)) or parse_duration(
 | 
			
		||||
            self._search_regex(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user