1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-29 12:41:20 +02:00

[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.
This commit is contained in:
Philipp Hagemeister 2014-10-26 14:15:48 +01:00
parent 639a422d21
commit a7e97f6db1

View File

@ -635,7 +635,8 @@ def _playlist_from_matches(matches, getter, ie=None):
<iframe[^>]+?src=|
data-video-url=|
<embed[^>]+?src=|
embedSWF\(?:\s*
embedSWF\(?:\s*|
new\s+SWFObject\(
)
(["\'])
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/