diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-25 23:45:16 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-06-25 23:46:24 +0200 |
commit | b004821fa98a5ac563811f37b744c632dd58d559 (patch) | |
tree | e9ceb5130a6613803e1c08e472d07e4de14cff28 /test | |
parent | 81b42336ad9a59167a2c936bbd58f818007b1872 (diff) |
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.py | 2 |
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') |