[youtube] Extract chapters from JSON (closes #24819)

This commit is contained in:
Sergey M․ 2020-06-06 04:16:31 +07:00
parent 562de77f41
commit 84213ea8d4
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
2 changed files with 62 additions and 3 deletions

View file

@ -267,7 +267,7 @@ class TestYoutubeChapters(unittest.TestCase):
for description, duration, expected_chapters in self._TEST_CASES:
ie = YoutubeIE()
expect_value(
self, ie._extract_chapters(description, duration),
self, ie._extract_chapters_from_description(description, duration),
expected_chapters, None)