From: Philipp Hagemeister Date: Sun, 24 Nov 2013 05:54:26 +0000 (+0100) Subject: [youtube] do not use variable name twice X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=66ec0192406bbf1bffcb6c4e72fe1529f1e21195;p=youtube-dl [youtube] do not use variable name twice --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 126688652..07a457f4d 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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)