From 66ec0192406bbf1bffcb6c4e72fe1529f1e21195 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sun, 24 Nov 2013 06:54:26 +0100 Subject: [PATCH] [youtube] do not use variable name twice --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)