mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 04:13:20 +00:00
The test video for subtitles has added a new language
This commit is contained in:
parent
fb6c319904
commit
49da66e459
|
@ -80,7 +80,7 @@ def test_youtube_allsubtitles(self):
|
||||||
IE = YoutubeIE(DL)
|
IE = YoutubeIE(DL)
|
||||||
info_dict = IE.extract('QRS8MkLhQmM')
|
info_dict = IE.extract('QRS8MkLhQmM')
|
||||||
subtitles = info_dict[0]['subtitles']
|
subtitles = info_dict[0]['subtitles']
|
||||||
self.assertEqual(len(subtitles), 12)
|
self.assertEqual(len(subtitles), 13)
|
||||||
def test_youtube_subtitles_format(self):
|
def test_youtube_subtitles_format(self):
|
||||||
DL = FakeDownloader()
|
DL = FakeDownloader()
|
||||||
DL.params['writesubtitles'] = True
|
DL.params['writesubtitles'] = True
|
||||||
|
|
Loading…
Reference in a new issue