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:
parent
9508738f9a
commit
686cc89634
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue