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:
parent
f276caf54a
commit
65e7bc5b95
|
@ -21,7 +21,7 @@ public final class PeertubeTrendingLinkHandlerFactory extends ListLinkHandlerFac
|
||||||
KIOSK_TRENDING, "%s/api/v1/videos?sort=-trending",
|
KIOSK_TRENDING, "%s/api/v1/videos?sort=-trending",
|
||||||
KIOSK_MOST_LIKED, "%s/api/v1/videos?sort=-likes",
|
KIOSK_MOST_LIKED, "%s/api/v1/videos?sort=-likes",
|
||||||
KIOSK_RECENT, "%s/api/v1/videos?sort=-publishedAt",
|
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() {
|
private PeertubeTrendingLinkHandlerFactory() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue