[hrti] Don't redefine variable in list comprehension
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 2 Jul 2016 21:02:14 +0000 (23:02 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 2 Jul 2016 21:02:14 +0000 (23:02 +0200)
youtube_dl/extractor/hrti.py

index 4b346f712abebe8c438eb061c9eb181515f8938e..656ce6d0504180daa1f27495459599d47cebdae0 100644 (file)
@@ -197,6 +197,6 @@ class HRTiPlaylistIE(HRTiBaseIE):
             response, lambda x: x['video_listings'][0]['alternatives'][0]['list'],
             list) or [video['id'] for video in response.get('videos', []) if video.get('id')]
 
-        entries = [self.url_result('hrti:%s' % category_id) for category_id in video_ids]
+        entries = [self.url_result('hrti:%s' % video_id) for video_id in video_ids]
 
         return self.playlist_result(entries, category_id, display_id)