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:
parent
79027c0ea0
commit
21ac1a8ac3
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue