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

This commit is contained in:
Sergey M․ committed 2020-06-06 04:22:10 +07:00
1 parent 562de77f41
commit 84213ea8d4
2 files changed
+62 -3

No files matched your search

+1 -1
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)