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)
This commit is contained in:
parent
81b42336ad
commit
b004821fa9
4 changed files with 14 additions and 10 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue