aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-10 18:29:20 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-10 18:29:20 +0700
commit1bf5423e82d17ebaa496865cfcfa845b4257e13e (patch)
tree4aeefa05127d0ba404493d55675b4f6163b816b2 /youtube_dl/extractor/generic.py
parent2c5c1f48e9cec92e531af074276eca1f48b1f153 (diff)
[generic/youtube] Recognize youtube nocookie embeds (Closes #3713)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 1b7697870..2bfa20606 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -628,7 +628,7 @@ class GenericIE(InfoExtractor):
embedSWF\(?:\s*
)
(["\'])
- (?P<url>(?:https?:)?//(?:www\.)?youtube\.com/
+ (?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
(?:embed|v)/.+?)
\1''', webpage)
if matches: