Update PeertubeTrendingLinkHandlerFactory.java

correcting Peertube local trending api URL (per #10685 in main NewPipe repo); see https://docs.joinpeertube.org/api-rest-reference.html#tag/Video/operation/getVideos
This commit is contained in:
dragfyre 2023-12-28 14:50:31 +07:00 committed by GitHub
parent f276caf54a
commit 65e7bc5b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public final class PeertubeTrendingLinkHandlerFactory extends ListLinkHandlerFac
KIOSK_TRENDING, "%s/api/v1/videos?sort=-trending",
KIOSK_MOST_LIKED, "%s/api/v1/videos?sort=-likes",
KIOSK_RECENT, "%s/api/v1/videos?sort=-publishedAt",
KIOSK_LOCAL, "%s/api/v1/videos?sort=-publishedAt&filter=local");
KIOSK_LOCAL, "%s/api/v1/videos?sort=-publishedAt&isLocal=true");
private PeertubeTrendingLinkHandlerFactory() {
}