Browse Source

[discovery] Fix typo

master
Sergey M․ 8 years ago
parent
commit
686cc89634
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/discovery.py

2
youtube_dl/extractor/discovery.py

@ -71,7 +71,7 @@ class DiscoveryIE(InfoExtractor):
entries = [] entries = []
for idx, video_info in enumerate(info['playlist']): for idx, video_info in enumerate(info['playlist']):
subtitles = []
subtitles = {}
caption_url = video_info.get('captionsUrl') caption_url = video_info.get('captionsUrl')
if caption_url: if caption_url:
subtitles = { subtitles = {

Loading…
Cancel
Save