mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2024-12-12 20:10:00 +01:00
Fix YouTube music search.
This commit is contained in:
parent
6335823843
commit
a685941bba
@ -165,7 +165,7 @@ public class YoutubeMusicSearchExtractor extends SearchExtractor {
|
||||
public InfoItemsPage<InfoItem> getInitialPage() throws ExtractionException, IOException {
|
||||
final InfoItemsSearchCollector collector = new InfoItemsSearchCollector(getServiceId());
|
||||
|
||||
final JsonArray contents = initialData.getObject("contents").getObject("sectionListRenderer").getArray("contents");
|
||||
final JsonArray contents = JsonUtils.getArray(JsonUtils.getArray(initialData, "contents.tabbedSearchResultsRenderer.tabs").getObject(0), "tabRenderer.content.sectionListRenderer.contents");
|
||||
|
||||
Page nextPage = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user