Browse Source

[generic/youtube] Recognize youtube nocookie embeds (Closes #3713)

master
Sergey M․ 10 years ago
parent
commit
1bf5423e82
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/generic.py

2
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:

Loading…
Cancel
Save