Browse Source

[rtve] PEP8

master
Philipp Hagemeister 9 years ago
parent
commit
9c665ab72e
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/rtve.py

3
youtube_dl/extractor/rtve.py

@ -119,7 +119,8 @@ class RTVEALaCartaIE(InfoExtractor):
subs = self._download_json(
sub_file + '.json', video_id,
'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)

Loading…
Cancel
Save