[discovery] Fix typo
authorSergey M․ <dstftw@gmail.com>
Mon, 2 May 2016 01:07:35 +0000 (07:07 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 2 May 2016 01:07:35 +0000 (07:07 +0600)
youtube_dl/extractor/discovery.py

index 7c554ec1407aaf166917d043f3acdcddcf62c77c..55853f76f91e97db19423c6cf8c1b8b56e006447 100644 (file)
@@ -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 = {