mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[yahoo] Add support for embedded videos (Closes #3525)
This commit is contained in:
		| @@ -706,6 +706,13 @@ class GenericIE(InfoExtractor): | ||||
|             url = unescapeHTML(mobj.group('url')) | ||||
|             return self.url_result(url, ie='MTVServicesEmbedded') | ||||
|  | ||||
|         # Look for embedded yahoo player | ||||
|         mobj = re.search( | ||||
|             r'<iframe[^>]+?src=(["\'])(?P<url>https?://(?:screen|movies)\.yahoo\.com/.+?\.html\?format=embed)\1', | ||||
|             webpage) | ||||
|         if mobj is not None: | ||||
|             return self.url_result(mobj.group('url'), 'Yahoo') | ||||
|  | ||||
|         # Start with something easy: JW Player in SWFObject | ||||
|         found = re.findall(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage) | ||||
|         if not found: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․