Fix extraction of YouTube chapters (#531)

YouTube changed the name of the chapters in the JSON from engagement-panel-macro-markers to engagement-panel-macro-markers-description-chapters, so extracting chapters doesn't work.
This commit is contained in:
TiA4f8R
2021-02-03 22:07:34 +01:00
committed by GitHub
parent bfa639950e
commit 1414a6f178
2 changed files with 4 additions and 3 deletions

View File

@@ -259,7 +259,6 @@ public class YoutubeStreamExtractorDefaultTest {
@Override public int expectedStreamSegmentsCount() { return 7; }
@Test
@Ignore("TODO fix")
public void testStreamSegment() throws Exception {
final StreamSegment segment = extractor.getStreamSegments().get(1);
assertEquals(164, segment.getStartTimeSeconds());