mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[rtve] PEP8
This commit is contained in:
parent
b665ba6aa6
commit
9c665ab72e
|
@ -119,7 +119,8 @@ class RTVEALaCartaIE(InfoExtractor):
|
||||||
subs = self._download_json(
|
subs = self._download_json(
|
||||||
sub_file + '.json', video_id,
|
sub_file + '.json', video_id,
|
||||||
'Downloading subtitles info')['page']['items']
|
'Downloading subtitles info')['page']['items']
|
||||||
return dict((s['lang'], [{'ext': 'vtt', 'url': s['src']}])
|
return dict(
|
||||||
|
(s['lang'], [{'ext': 'vtt', 'url': s['src']}])
|
||||||
for s in subs)
|
for s in subs)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue