diff options
author | anovicecodemonkey <anovicecodemonkey13435@mailinator.com> | 2014-05-18 23:15:09 +0930 |
---|---|---|
committer | anovicecodemonkey <anovicecodemonkey13435@mailinator.com> | 2014-05-18 23:15:09 +0930 |
commit | 3442b30ab2a5f168caa45a7371aca0f4103fdd86 (patch) | |
tree | a236e4385a56241faad4a4e7f1c5d840a3ebc083 /youtube_dl/extractor | |
parent | 4ea5c7b70dd5cb26036cea815a9d9599aac0de36 (diff) | |
download | youtube-dl-3442b30ab2a5f168caa45a7371aca0f4103fdd86.tar.xz |
[generic] Support data-video-url for YouTube embeds (Fixes #2862)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 0e5cf0efb..69381f777 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -473,7 +473,7 @@ class GenericIE(InfoExtractor): # Look for embedded YouTube player matches = re.findall(r'''(?x) - (?:<iframe[^>]+?src=|embedSWF\(\s*) + (?:<iframe[^>]+?src=|data-video-url=|embedSWF\(\s*) (["\'])(?P<url>(?:https?:)?//(?:www\.)?youtube\.com/ (?:embed|v)/.+?) \1''', webpage) |