mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 10:54:39 -05:00
FIX MY SKILL ISSUEEE
This commit is contained in:
parent
018472e4b4
commit
49ca4992cf
1 changed files with 6 additions and 5 deletions
11
server.js
11
server.js
|
@ -487,16 +487,17 @@ app.get("/channel/", async (req, res) => {
|
|||
const h = await bout.text();
|
||||
const k = JSON.parse(toJson(h));
|
||||
|
||||
//videos
|
||||
const channel = await fetch(config.tubeApi + `channel?id=${ID}&tab=videos`);
|
||||
const c = await channel.text();
|
||||
const tj = JSON.parse(toJson(c));
|
||||
|
||||
|
||||
if(req.query.continuation){ var continuation = req.query.continuation }
|
||||
if(!req.query.continuation){ var continuation = "" }
|
||||
|
||||
|
||||
//videos
|
||||
const channel = await fetch(config.tubeApi + `channel?id=${ID}&tab=videos&Continuation=${continuation}`);
|
||||
const c = await channel.text();
|
||||
const tj = JSON.parse(toJson(c));
|
||||
|
||||
|
||||
|
||||
const summary = await wiki.summary(k.Channel.Metadata.Name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue