Browse Source

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

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

+ 1
- 1
youtube_dl/extractor/generic.py View File

@ -628,7 +628,7 @@ class GenericIE(InfoExtractor):
embedSWF\(?:\s* embedSWF\(?:\s*
) )
(["\']) (["\'])
(?P<url>(?:https?:)?//(?:www\.)?youtube\.com/
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
(?:embed|v)/.+?) (?:embed|v)/.+?)
\1''', webpage) \1''', webpage)
if matches: if matches:


Loading…
Cancel
Save