aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/discovery.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-05-02 07:07:35 +0600
committerSergey M․ <dstftw@gmail.com>2016-05-02 07:07:35 +0600
commit686cc8963441c37105c0447f31c5ea21405be05a (patch)
treef611e1f97395e80ed0a530fb1e7a40e5095d0a4d /youtube_dl/extractor/discovery.py
parent9508738f9a9d6fd3de2e60cd7ccb4c8631bea6f4 (diff)
downloadyoutube-dl-686cc8963441c37105c0447f31c5ea21405be05a.tar.xz
[discovery] Fix typo
Diffstat (limited to 'youtube_dl/extractor/discovery.py')
-rw-r--r--youtube_dl/extractor/discovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py
index 7c554ec14..55853f76f 100644
--- a/youtube_dl/extractor/discovery.py
+++ b/youtube_dl/extractor/discovery.py
@@ -71,7 +71,7 @@ class DiscoveryIE(InfoExtractor):
entries = []
for idx, video_info in enumerate(info['playlist']):
- subtitles = []
+ subtitles = {}
caption_url = video_info.get('captionsUrl')
if caption_url:
subtitles = {