youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 9c665ab72e5fc99989800109cdada5acc3af56c5
parent b665ba6aa6551243aa1a5b707ee7034be356f1bb
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 24 Feb 2015 11:37:27 +0100

[rtve] PEP8

Diffstat:
Myoutube_dl/extractor/rtve.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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)