Skip to content

Commit

Permalink
Fixed feed extractor (fast mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Apr 21, 2022
1 parent 54c2f92 commit b697961
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -61,7 +62,7 @@ public InfoItemsPage<StreamInfoItem> 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));
}
Expand Down

0 comments on commit b697961

Please sign in to comment.