From d5d34babe0d27acc2c4bbf19f6c7fc70ed1d787d Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 12 Mar 2023 17:58:19 +0000 Subject: [PATCH] fix continuations owo --- src/libpoketube/init/pages-channel-and-download.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index 30ecd1c3..170ffc6b 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -136,9 +136,9 @@ module.exports = function (app, config, renderTemplate) { } }; - 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 tj = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/videos/${ID}/?sort_by=${req.query.sort_by || "newest"}` + `&continuation=${continuation}` ); + const shorts = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${req.query.sort_by || "newest"}` + `&continuation=${continuations}` ); + const stream = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${ req.query.sort_by || "newest"}` + + `&continuation=${continuationl}`); const c = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/community/${ID}/`); const summary = await wiki.summary(boutJson.Channel.Metadata.Name);