1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 19:35:50 +01: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')] } for thumbnail in properties.get('thumbnails', []) if thumbnail.get('url')]
subtitles = {} subtitles = {}
for caption in properties.get('captions', {}): for caption in properties.get('captions', []):
lang = caption.get('language_code') lang = caption.get('language_code')
subtitles_url = caption.get('url') subtitles_url = caption.get('url')
if lang and subtitles_url: if lang and subtitles_url: