1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[discovery] Fix typo

This commit is contained in:
Sergey M․ 2016-05-02 07:07:35 +06:00
parent 9508738f9a
commit 686cc89634
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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 = {