commit: 21ac1a8ac3f2a3c301ad8c08730166a8fd82c287
parent 79027c0ea02d4f296aefe6ca6e5af393c2a4a209
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 11 Jun 2016 05:52:50 +0700
[limelight] Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/limelight.py b/youtube_dl/extractor/limelight.py
@@ -98,7 +98,7 @@ class LimelightBaseIE(InfoExtractor):
} for thumbnail in properties.get('thumbnails', []) if thumbnail.get('url')]
subtitles = {}
- for caption in properties.get('captions', {}):
+ for caption in properties.get('captions', []):
lang = caption.get('language_code')
subtitles_url = caption.get('url')
if lang and subtitles_url: