aboutsummaryrefslogtreecommitdiff
path: root/test/test_subtitles.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-02-16 21:12:31 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-02-16 21:51:08 +0100
commitc84dd8a90dcc75547b343449b921b644a2119c4f (patch)
tree3173266bbbee4bc5554d0a641d49ca06ffa623b3 /test/test_subtitles.py
parent65469a7f8b0ba50bd3c8918707e35125962aa2cd (diff)
downloadyoutube-dl-c84dd8a90dcc75547b343449b921b644a2119c4f.tar.xz
[YoutubeDL] store the subtitles to download in the 'requested_subtitles' field
We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
Diffstat (limited to 'test/test_subtitles.py')
-rw-r--r--test/test_subtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_subtitles.py b/test/test_subtitles.py
index 3f2d61d36..b3c615c4f 100644
--- a/test/test_subtitles.py
+++ b/test/test_subtitles.py
@@ -36,7 +36,7 @@ class BaseTestSubtitles(unittest.TestCase):
def getSubtitles(self):
info_dict = self.getInfoDict()
- subtitles = info_dict['subtitles']
+ subtitles = info_dict['requested_subtitles']
if not subtitles:
return subtitles
for sub_info in subtitles.values():