1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-09 14:17:41 +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|a|list)=
| p/ | 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' _TEMPLATE_URL = 'https://www.youtube.com/playlist?list=%s&page=%s'
_MORE_PAGES_INDICATOR = r'data-link-type="next"' _MORE_PAGES_INDICATOR = r'data-link-type="next"'