From: Philipp Hagemeister Date: Sun, 26 Oct 2014 13:15:48 +0000 (+0100) Subject: [generic] Allow new SWFObject()-style imports X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a7e97f6db17240ae33719550d62df0816ab410ad;p=youtube-dl [generic] Allow new SWFObject()-style imports This embed style is used on http://www.bitburger-open.de/ , but that is not included as a test case since the format is likely to be temporary. --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 9b6498894..524215408 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -635,7 +635,8 @@ class GenericIE(InfoExtractor): ]+?src=| data-video-url=| ]+?src=| - embedSWF\(?:\s* + embedSWF\(?:\s*| + new\s+SWFObject\( ) (["\']) (?P(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/