From 3442b30ab2a5f168caa45a7371aca0f4103fdd86 Mon Sep 17 00:00:00 2001 From: anovicecodemonkey Date: Sun, 18 May 2014 23:15:09 +0930 Subject: [PATCH] [generic] Support data-video-url for YouTube embeds (Fixes #2862) --- youtube_dl/extractor/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) - (?:]+?src=|embedSWF\(\s*) + (?:]+?src=|data-video-url=|embedSWF\(\s*) (["\'])(?P(?:https?:)?//(?:www\.)?youtube\.com/ (?:embed|v)/.+?) \1''', webpage)