diff options
author | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-04-03 09:45:45 +0200 |
---|---|---|
committer | Ricardo Garcia <sarbalap+freshmeat@gmail.com> | 2010-10-31 11:26:52 +0100 |
commit | 9177ce4d8ce93a7de0c75bdfdfd36bca5d6086f9 (patch) | |
tree | 5f8c6382c043928c0efb0970df6adc701fabaea4 | |
parent | ce5cafea407319ce9a69acabeb748563cc0d7db0 (diff) |
Support new playlist style URL (fixes issue #114)
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
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*</a>' |