Skip to content

YT Music: Playlist/Album extraction broken #908

@litetex

Description

@litetex

So after I fixed every test in the extractor (#882) I noticed that YT seems to have changed the music extraction which results in some errors:
grafik

java.lang.AssertionError: Next page have errors
  * Could not get url
  * Could not get url
  * Could not get url
  * Could not get url 
	at org.schabi.newpipe.extractor.ExtractorAsserts.assertEmptyErrors(ExtractorAsserts.java:28)
	at org.schabi.newpipe.extractor.services.DefaultTests.defaultTestMoreItems(DefaultTests.java:128)
	at org.schabi.newpipe.extractor.services.DefaultListExtractorTest.testMoreRelatedItems(DefaultListExtractorTest.java:42)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	... (remove junit internal stack)
	at java.lang.Thread.run(Thread.java:750)
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get url
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeMusicSearchExtractor$3.getUrl(YoutubeMusicSearchExtractor.java:554)
	at org.schabi.newpipe.extractor.playlist.PlaylistInfoItemsCollector.extract(PlaylistInfoItemsCollector.java:17)
	at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:86)
	at org.schabi.newpipe.extractor.MultiInfoItemsCollector.extract(MultiInfoItemsCollector.java:48)
	at org.schabi.newpipe.extractor.InfoItemsCollector.commit(InfoItemsCollector.java:104)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeMusicSearchExtractor.collectMusicStreamsFrom(YoutubeMusicSearchExtractor.java:501)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeMusicSearchExtractor.getPage(YoutubeMusicSearchExtractor.java:275)
	at org.schabi.newpipe.extractor.services.DefaultTests.defaultTestMoreItems(DefaultTests.java:125)
	... 91 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugyoutubeservice, https://www.youtube.com/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions