aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-25 23:45:16 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-25 23:46:24 +0200
commitb004821fa98a5ac563811f37b744c632dd58d559 (patch)
treee9ceb5130a6613803e1c08e472d07e4de14cff28 /test
parent81b42336ad9a59167a2c936bbd58f818007b1872 (diff)
downloadyoutube-dl-b004821fa98a5ac563811f37b744c632dd58d559.tar.xz
Add the option "--write-auto-sub" to download automatic subtitles from Youtube
Now automatic subtitles are only downloaded if the option is given. (closes #903)
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_subtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py
index e8f5e4ae7..dad15de37 100644
--- a/test/test_youtube_subtitles.py
+++ b/test/test_youtube_subtitles.py
@@ -100,7 +100,7 @@ class TestYoutubeSubtitles(unittest.TestCase):
self.assertEqual(info_dict, None)
def test_youtube_automatic_captions(self):
DL = FakeYDL()
- DL.params['writesubtitles'] = True
+ DL.params['writeautomaticsub'] = True
DL.params['subtitleslang'] = 'it'
IE = YoutubeIE(DL)
info_dict = IE.extract('8YoUxe5ncPo')