projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b665ba6
)
[rtve] PEP8
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 24 Feb 2015 10:37:27 +0000
(11:37 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 24 Feb 2015 10:37:27 +0000
(11:37 +0100)
youtube_dl/extractor/rtve.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rtve.py
b/youtube_dl/extractor/rtve.py
index 27cd34b7db746d8017c77084b35becda280f0fd6..c0fd23ff108f8b523a0e71f458147287954f429c 100644
(file)
--- a/
youtube_dl/extractor/rtve.py
+++ b/
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)