mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[hrti] Don't redefine variable in list comprehension
This commit is contained in:
parent
a1f6f5c768
commit
4cb13d0d6a
1 changed files with 1 additions and 1 deletions
|
@ -197,6 +197,6 @@ class HRTiPlaylistIE(HRTiBaseIE):
|
||||||
response, lambda x: x['video_listings'][0]['alternatives'][0]['list'],
|
response, lambda x: x['video_listings'][0]['alternatives'][0]['list'],
|
||||||
list) or [video['id'] for video in response.get('videos', []) if video.get('id')]
|
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)
|
return self.playlist_result(entries, category_id, display_id)
|
||||||
|
|
Loading…
Reference in a new issue