mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 02:37:07 -05:00 
			
		
		
		
	[wimp] Fix Youtube embeds extraction
This commit is contained in:
		@@ -36,7 +36,8 @@ class WimpIE(InfoExtractor):
 | 
			
		||||
        webpage = self._download_webpage(url, video_id)
 | 
			
		||||
 | 
			
		||||
        youtube_id = self._search_regex(
 | 
			
		||||
            r"videoId\s*:\s*[\"']([0-9A-Za-z_-]{11})[\"']",
 | 
			
		||||
            (r"videoId\s*:\s*[\"']([0-9A-Za-z_-]{11})[\"']",
 | 
			
		||||
             r'data-id=["\']([0-9A-Za-z_-]{11})'),
 | 
			
		||||
            webpage, 'video URL', default=None)
 | 
			
		||||
        if youtube_id:
 | 
			
		||||
            return {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user