]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[youtube] do not use variable name twice
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Nov 2013 05:54:26 +0000 (06:54 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Nov 2013 05:54:26 +0000 (06:54 +0100)
youtube_dl/extractor/youtube.py

index 126688652743bc81d7b178b98569b3827e24adfa..07a457f4d7d56355fe677e07a7d27171ea73f2ec 100644 (file)
@@ -1571,8 +1571,8 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
 
         playlist_title = self._og_search_title(page)
 
-        url_results = [self.url_result(video_id, 'Youtube', video_id=video_id)
-                       for video_id in ids]
+        url_results = [self.url_result(vid_id, 'Youtube', video_id=vid_id)
+                       for vid_id in ids]
         return self.playlist_result(url_results, playlist_id, playlist_title)