From: Sergey M․ Date: Fri, 10 Jun 2016 22:52:50 +0000 (+0700) Subject: [limelight] Fix typo X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=21ac1a8ac3f2a3c301ad8c08730166a8fd82c287;p=youtube-dl [limelight] Fix typo --- 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: