1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 22:52:55 +08:00

[limelight] Fix typo

This commit is contained in:
Sergey M․ 2016-06-11 05:52:50 +07:00
parent 79027c0ea0
commit 21ac1a8ac3
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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: