aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-26 14:15:48 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-26 14:15:49 +0100
commita7e97f6db17240ae33719550d62df0816ab410ad (patch)
tree894598541ab1146ed6a0474246b779e29ee3b612
parent639a422d21b9ad23a64f5bc27230896837b518ce (diff)
[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.
-rw-r--r--youtube_dl/extractor/generic.py3
1 files changed, 2 insertions, 1 deletions
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):
<iframe[^>]+?src=|
data-video-url=|
<embed[^>]+?src=|
- embedSWF\(?:\s*
+ embedSWF\(?:\s*|
+ new\s+SWFObject\(
)
(["\'])
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/