Skip to content

A feature-rich command-line audio/video downloader

[limelight] Fix typo

Sergey M․21ac1a8ac3f2
diff --git a/youtube_dl/extractor/limelight.py b/youtube_dl/extractor/limelight.py
index da5d198b99..a25fb8e2c7 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: