aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcryzed <cryzed@googlemail.com>2012-09-27 19:48:29 +0200
committercryzed <cryzed@googlemail.com>2012-09-27 19:48:29 +0200
commit3af2f7656ceef5960cf2a7b5cfdb0bd97f22d103 (patch)
tree2109877d503cc4b823052543d56b7007239314f7
parent85f76ac90ba36bdf408a6dc6d54c613de136e0bb (diff)
Fixed YouTube playlist parsing
-rw-r--r--youtube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index ff5c47726..6442888d8 100644
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -1473,7 +1473,7 @@ class YoutubePlaylistIE(InfoExtractor):
_VALID_URL = r'(?:https?://)?(?:\w+\.)?youtube\.com/(?:(?:course|view_play_list|my_playlists|artist|playlist)\?.*?(p|a|list)=|user/.*?/user/|p/|user/.*?#[pg]/c/)(?:PL)?([0-9A-Za-z-_]+)(?:/.*?/([0-9A-Za-z_-]+))?.*'
_TEMPLATE_URL = 'http://www.youtube.com/%s?%s=%s&page=%s&gl=US&hl=en'
- _VIDEO_INDICATOR_TEMPLATE = r'/watch\?v=(.+?)&amp;list=(PL)?%s&'
+ _VIDEO_INDICATOR_TEMPLATE = r'/watch\?v=(.+?)&amp;list=.*?%s'
_MORE_PAGES_INDICATOR = r'yt-uix-pager-next'
IE_NAME = u'youtube:playlist'