summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRicardo Garcia <[email protected]>2009-08-12 23:15:22 +0200
committerRicardo Garcia <[email protected]>2010-10-31 11:24:48 +0100
commitd89977437718619a057028566b1e901ea963193e (patch)
tree8ed0afd6e50c30d44d8e640822a5d915de0c298f
parentfade05990c9e4edbf07c91a6723a0e302e82114d (diff)
downloadyoutube-dl-d89977437718619a057028566b1e901ea963193e.tar.gz
youtube-dl-d89977437718619a057028566b1e901ea963193e.zip
Accept my_playlists syntax for playlists
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index e3dafad69..50b9197f2 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -966,7 +966,7 @@ class YoutubeSearchIE(InfoExtractor):
class YoutubePlaylistIE(InfoExtractor):
"""Information Extractor for YouTube playlists."""
- _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/view_play_list\?p=(.+)'
+ _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/(?:view_play_list|my_playlists)\?.*?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'/view_play_list?p=%s&page=%s'