Add the option "--write-auto-sub" to download automatic subtitles from Youtube
[youtube-dl] / test / test_youtube_subtitles.py
index e8f5e4ae70a85e29c363dafe6417c614a409849e..dad15de374bbfe3564452fe4b1b5f307e89bc0d8 100644 (file)
@@ -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')