From 8ca31a0e056a7a7b71ea35753504ed0f870e834f Mon Sep 17 00:00:00 2001 From: felix Date: Sat, 29 Aug 2015 07:55:20 +0200 Subject: [PATCH] [generic] Look for ScreenwaveMedia embeds --- youtube_dl/extractor/generic.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 376feecae..5d41b6319 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1718,6 +1718,15 @@ class GenericIE(InfoExtractor): if snagfilms_url: return self.url_result(snagfilms_url) + # Look for ScreenwaveMedia embeds + mobj = re.search( + r']+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']+src=[\'"]((?:https?:)?//video\.tv\.adobe\.com/v/\d+[^"]+)[\'"]', -- 2.22.2