mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[generic/youtube] Recognize youtube nocookie embeds (Closes #3713)
This commit is contained in:
@@ -628,7 +628,7 @@ def _playlist_from_matches(matches, getter, ie=None):
|
||||
embedSWF\(?:\s*
|
||||
)
|
||||
(["\'])
|
||||
(?P<url>(?:https?:)?//(?:www\.)?youtube\.com/
|
||||
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
|
||||
(?:embed|v)/.+?)
|
||||
\1''', webpage)
|
||||
if matches:
|
||||
|
||||
Reference in New Issue
Block a user