projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5c1f4
)
[generic/youtube] Recognize youtube nocookie embeds (Closes #3713)
author
Sergey M․
<dstftw@gmail.com>
Wed, 10 Sep 2014 11:29:20 +0000
(18:29 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 10 Sep 2014 11:29:20 +0000
(18:29 +0700)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 1b7697870bde93fd5bb4218d12eac8c166a306ba..2bfa20606cd7846b0d15e8c441de3fce2a8982f6 100644
(file)
--- 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: