1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-25 02:05:50 +01:00

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

This commit is contained in:
Sergey M․ 2014-09-10 18:29:20 +07:00
parent 2c5c1f48e9
commit 1bf5423e82

View File

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