mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 15:58:13 +01:00
change api owo
This commit is contained in:
parent
2a40e78a2d
commit
10342b6c63
1 changed files with 4 additions and 4 deletions
|
@ -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 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://inv-api.poketube.fun/api/v1/channels/${ID}/shorts?sort_by=${req.query.sort_by || "newest"}` + continuations );
|
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://inv-api.poketube.fun/api/v1/channels/${ID}/streams?sort_by=${ req.query.sort_by || "newest"}` + continuationl );
|
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://inv-api.poketube.fun/api/v1/channels/community/${ID}/`);
|
const c = await getChannelData(`https://invid-api.poketube.fun/api/v1/channels/community/${ID}/`);
|
||||||
|
|
||||||
const summary = await wiki.summary(boutJson.Channel.Metadata.Name);
|
const summary = await wiki.summary(boutJson.Channel.Metadata.Name);
|
||||||
const wikiSummary = summary.title !== "Not found." ? summary : "none";
|
const wikiSummary = summary.title !== "Not found." ? summary : "none";
|
||||||
|
|
Loading…
Reference in a new issue