aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-07-02 23:02:14 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-07-02 23:02:14 +0200
commit4cb13d0d6af20906f973f0b281f9efba4bc65d41 (patch)
treeba5fbea0f59cd89388737627ee70e182ebebc7bf /youtube_dl
parenta1f6f5c768a506674928530990b7f95c605eac2c (diff)
[hrti] Don't redefine variable in list comprehension
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/hrti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/hrti.py b/youtube_dl/extractor/hrti.py
index 4b346f712..656ce6d05 100644
--- a/youtube_dl/extractor/hrti.py
+++ b/youtube_dl/extractor/hrti.py
@@ -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)