mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-03 19:23:44 +00:00 
			
		
		
		
	[criterion] fix description extraction
This commit is contained in:
		
							parent
							
								
									1f36085df9
								
							
						
					
					
						commit
						36bb63fad1
					
				@ -27,9 +27,7 @@ class CriterionIE(InfoExtractor):
 | 
			
		||||
        final_url = self._search_regex(
 | 
			
		||||
            r'so.addVariable\("videoURL", "(.+?)"\)\;', webpage, 'video url')
 | 
			
		||||
        title = self._og_search_title(webpage)
 | 
			
		||||
        description = self._html_search_regex(
 | 
			
		||||
            r'<meta name="description" content="(.+?)" />',
 | 
			
		||||
            webpage, 'video description')
 | 
			
		||||
        description = self._html_search_meta('description', webpage)
 | 
			
		||||
        thumbnail = self._search_regex(
 | 
			
		||||
            r'so.addVariable\("thumbnailURL", "(.+?)"\)\;',
 | 
			
		||||
            webpage, 'thumbnail url')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user