aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergely Imreh <imrehg@gmail.com>2011-02-13 19:02:56 +0800
committerGergely Imreh <imrehg@gmail.com>2011-02-13 19:02:56 +0800
commit7cc3c6fd62d82bac36c583a8d1dc6c2f6da8c178 (patch)
tree468e8e69b2a19517d19bcc0f5cf22560599afea1
parentd119b54df6a02d3985284c36586f6ff7e4cac969 (diff)
Fix possible missing parameter in playlist url extraction
The "playlist_prefix" parameter was missing when parsing playlist urls that match the recently added format, e.g.: http://www.youtube.com/user/stanforduniversity#g/c/9D558D49CA734A02 For these URLs (basically, for every playlist type so far, except the artist list) playlist_prefix has to be equal to "p" for correct exctraction.
-rwxr-xr-xyoutube-dl1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube-dl b/youtube-dl
index 0f9724637..26af2e5bc 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -2135,6 +2135,7 @@ class YoutubePlaylistIE(InfoExtractor):
if playlist_prefix == 'a':
playlist_access = 'artist'
else:
+ playlist_prefix = 'p'
playlist_access = 'view_play_list'
playlist_id = mobj.group(2)
video_ids = []