1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 17:40:58 +01: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"'