From 9177ce4d8ce93a7de0c75bdfdfd36bca5d6086f9 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Sat, 3 Apr 2010 09:45:45 +0200 Subject: [PATCH] Support new playlist style URL (fixes issue #114) --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 3735c7eac..09f1441a4 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1493,7 +1493,7 @@ class YoutubeSearchIE(InfoExtractor): class YoutubePlaylistIE(InfoExtractor): """Information Extractor for YouTube playlists.""" - _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/(?:view_play_list|my_playlists)\?.*?p=([^&]+).*' + _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/(?:(?:view_play_list|my_playlists)\?.*?p=|user/.*?/user/)([^&]+).*' _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*'