mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[generic] Look for ScreenwaveMedia embeds
This commit is contained in:
		@@ -1718,6 +1718,15 @@ class GenericIE(InfoExtractor):
 | 
				
			|||||||
        if snagfilms_url:
 | 
					        if snagfilms_url:
 | 
				
			||||||
            return self.url_result(snagfilms_url)
 | 
					            return self.url_result(snagfilms_url)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        # Look for ScreenwaveMedia embeds
 | 
				
			||||||
 | 
					        mobj = re.search(
 | 
				
			||||||
 | 
					            r'<script[^>]+src=[\'"](http://player\d?\.screenwavemedia\.com/player\.php\?id=[A-Za-z0-9-]+)[\'"]',
 | 
				
			||||||
 | 
					            webpage)
 | 
				
			||||||
 | 
					        if mobj is not None:
 | 
				
			||||||
 | 
					            return self.url_result(
 | 
				
			||||||
 | 
					                unescapeHTML(mobj.group(1)),
 | 
				
			||||||
 | 
					                'ScreenwaveMedia')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Look for AdobeTVVideo embeds
 | 
					        # Look for AdobeTVVideo embeds
 | 
				
			||||||
        mobj = re.search(
 | 
					        mobj = re.search(
 | 
				
			||||||
            r'<iframe[^>]+src=[\'"]((?:https?:)?//video\.tv\.adobe\.com/v/\d+[^"]+)[\'"]',
 | 
					            r'<iframe[^>]+src=[\'"]((?:https?:)?//video\.tv\.adobe\.com/v/\d+[^"]+)[\'"]',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user