mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[generic] Look for ScreenwaveMedia embeds
This commit is contained in:
parent
20149a5da1
commit
8ca31a0e05
1 changed files with 9 additions and 0 deletions
|
@ -1718,6 +1718,15 @@ def _playlist_from_matches(matches, getter=None, ie=None):
|
|||
if 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
|
||||
mobj = re.search(
|
||||
r'<iframe[^>]+src=[\'"]((?:https?:)?//video\.tv\.adobe\.com/v/\d+[^"]+)[\'"]',
|
||||
|
|
Loading…
Reference in a new issue