summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-06-11 05:52:50 +0700
committerSergey M․ <[email protected]>2016-06-11 05:52:50 +0700
commit21ac1a8ac3f2a3c301ad8c08730166a8fd82c287 (patch)
treeeac6e785581383bb595193e115243bacd719a3ba
parent79027c0ea02d4f296aefe6ca6e5af393c2a4a209 (diff)
downloadyoutube-dl-21ac1a8ac3f2a3c301ad8c08730166a8fd82c287.tar.gz
youtube-dl-21ac1a8ac3f2a3c301ad8c08730166a8fd82c287.zip
[limelight] Fix typo
-rw-r--r--youtube_dl/extractor/limelight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/limelight.py b/youtube_dl/extractor/limelight.py
index da5d198b9..a25fb8e2c 100644
--- 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: