Browse Source

[limelight] Fix typo

totalwebcasting
Sergey M․ 9 years ago
parent
commit
21ac1a8ac3
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/limelight.py

+ 1
- 1
youtube_dl/extractor/limelight.py 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:


Loading…
Cancel
Save