[limelight] Fix typo
[youtube-dl] / youtube_dl / extractor / limelight.py
index da5d198b99a1edf6eb621191cdbcd6eafaf61150..a25fb8e2c7de8ae492089fca362fabc831e60ff1 100644 (file)
@@ -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: