From 10342b6c639bac6d6e21da9452426efdcdadbd53 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 9 Mar 2023 15:52:30 +0000 Subject: [PATCH] change api owo --- src/libpoketube/init/pages-channel-and-download.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index 6e3dcc4c..30ecd1c3 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -136,10 +136,10 @@ module.exports = function (app, config, renderTemplate) { } }; - const tj = await getChannelData(`https://inv-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${req.query.sort_by || "newest"}` + continuation ); - const shorts = await getChannelData(`https://inv-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${req.query.sort_by || "newest"}` + continuations ); - const stream = await getChannelData(`https://inv-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${ req.query.sort_by || "newest"}` + continuationl ); - const c = await getChannelData(`https://inv-api.poketube.fun/api/v1/channels/community/${ID}/`); + const tj = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${req.query.sort_by || "newest"}` + continuation ); + const shorts = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${req.query.sort_by || "newest"}` + continuations ); + const stream = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${ req.query.sort_by || "newest"}` + continuationl ); + const c = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/community/${ID}/`); const summary = await wiki.summary(boutJson.Channel.Metadata.Name); const wikiSummary = summary.title !== "Not found." ? summary : "none";