1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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: