From: Ricardo Garcia Date: Wed, 12 Jan 2011 19:22:37 +0000 (+0100) Subject: Add support for embedded YouTube playist URLs (closes #54) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0d8d9877ad7dc7ba893f7e37382add01a01c3d0a;p=youtube-dl Add support for embedded YouTube playist URLs (closes #54) --- diff --git a/youtube-dl b/youtube-dl index c49c1b064..32e334ce4 100755 --- a/youtube-dl +++ b/youtube-dl @@ -2044,7 +2044,7 @@ class YahooSearchIE(InfoExtractor): class YoutubePlaylistIE(InfoExtractor): """Information Extractor for YouTube playlists.""" - _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/(?:(?:view_play_list|my_playlists)\?.*?p=|user/.*?/user/)([^&]+).*' + _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/(?:(?:view_play_list|my_playlists)\?.*?p=|user/.*?/user/|p/)([^&]+).*' _TEMPLATE_URL = 'http://www.youtube.com/view_play_list?p=%s&page=%s&gl=US&hl=en' _VIDEO_INDICATOR = r'/watch\?v=(.+?)&' _MORE_PAGES_INDICATOR = r'(?m)>\s*Next\s*'