mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	detect vevo embed
This commit is contained in:
		@@ -21,6 +21,14 @@ class WorldStarHipHopIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        webpage_src = self._download_webpage(url, video_id)
 | 
			
		||||
 | 
			
		||||
        video_url = self._search_regex('videoId=(.*?)&?',
 | 
			
		||||
            webpage_src, u'video URL', fatal=False)
 | 
			
		||||
 | 
			
		||||
        if video_url:
 | 
			
		||||
            self.to_screen(u'Vevo video detected:')
 | 
			
		||||
            vevo_id = 'vevo:%s' video_url
 | 
			
		||||
            self.url_result(vevo_id)
 | 
			
		||||
 | 
			
		||||
        video_url = self._search_regex(r'so\.addVariable\("file","(.*?)"\)',
 | 
			
		||||
            webpage_src, u'video URL')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user