Browse Source

[limelight] Fix typo

Sergey M․ 9 years ago
parent
commit
21ac1a8ac3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/limelight.py

+ 1 - 1
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: