mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-20 00:16:44 +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')]
|
} 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user