Browse Source

Accept my_playlists syntax for playlists

rtmp_test
Ricardo Garcia 16 years ago
parent
commit
d899774377
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube-dl

+ 1
- 1
youtube-dl View File

@ -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'


Loading…
Cancel
Save