0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[youtube:playlist] Recognize mix ids for direct use (fixes #1295)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-12-06 19:52:41 +01:00
parent 7d4afc557f
commit 715c8e7bdb

View file

@ -1528,10 +1528,10 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
\? (?:.*?&)*? (?:p|a|list)=
| p/
)
((?:PL|EC|UU|FL)?[0-9A-Za-z-_]{10,})
((?:PL|EC|UU|FL|RD)?[0-9A-Za-z-_]{10,})
.*
|
((?:PL|EC|UU|FL)[0-9A-Za-z-_]{10,})
((?:PL|EC|UU|FL|RD)[0-9A-Za-z-_]{10,})
)"""
_TEMPLATE_URL = 'https://www.youtube.com/playlist?list=%s&page=%s'
_MORE_PAGES_INDICATOR = r'data-link-type="next"'