]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube:playlist] Correct playlist ID output
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 15 Apr 2014 15:55:49 +0000 (17:55 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 15 Apr 2014 15:55:52 +0000 (17:55 +0200)
The ID now starts with PL, so we don't need to output that twice.

youtube_dl/extractor/youtube.py

index ac2d5db4e1b9d47d73ea1ed630a8616bbe77f110..c87c7e9037923f275fbed58d12334f40bdc6e40a 100644 (file)
@@ -1419,7 +1419,7 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
                 self.to_screen(u'Downloading just video %s because of --no-playlist' % video_id)
                 return self.url_result(video_id, 'Youtube', video_id=video_id)
             else:
-                self.to_screen(u'Downloading playlist PL%s - add --no-playlist to just download video %s' % (playlist_id, video_id))
+                self.to_screen(u'Downloading playlist %s - add --no-playlist to just download video %s' % (playlist_id, video_id))
 
         if playlist_id.startswith('RD'):
             # Mixes require a custom extraction process