Browse Source

[youtube:playlist] Correct playlist ID output

The ID now starts with PL, so we don't need to output that twice.
Philipp Hagemeister 11 years ago
parent
commit
1db2666916
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/youtube.py

+ 1 - 1
youtube_dl/extractor/youtube.py

@@ -1419,7 +1419,7 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
                 self.to_screen(u'Downloading just video %s because of --no-playlist' % video_id)
                 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)
                 return self.url_result(video_id, 'Youtube', video_id=video_id)
             else:
             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'):
         if playlist_id.startswith('RD'):
             # Mixes require a custom extraction process
             # Mixes require a custom extraction process