From b697961deda466bfc31f4c587e065add608c25ea Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Thu, 21 Apr 2022 21:34:31 +0200 Subject: [PATCH] Fixed feed extractor (fast mode) --- .../youtube/invidious/extractors/InvidiousFeedExtractor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/extractors/InvidiousFeedExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/extractors/InvidiousFeedExtractor.java index 8cd7ef6c96..e5fa39b0d1 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/extractors/InvidiousFeedExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/extractors/InvidiousFeedExtractor.java @@ -1,5 +1,6 @@ package org.schabi.newpipe.extractor.services.youtube.invidious.extractors; +import static org.schabi.newpipe.extractor.services.youtube.invidious.InvidiousParsingHelper.getUid; import static org.schabi.newpipe.extractor.services.youtube.invidious.InvidiousParsingHelper.getValidResponseBody; import org.jsoup.Jsoup; @@ -61,7 +62,7 @@ public InfoItemsPage getPage( public void onFetchPage( @Nonnull final Downloader downloader ) throws IOException, ExtractionException { - final String feedUrl = baseUrl + "/feed/channel/" + getLinkHandler().getId(); + final String feedUrl = baseUrl + "/feed/channel/" + getUid(getLinkHandler().getId()); final Response response = downloader.get(feedUrl); document = Jsoup.parse(getValidResponseBody(response, feedUrl)); }