mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 10:58:25 +01:00
Update server.js
This commit is contained in:
parent
5a5758c2b9
commit
74b5c408f8
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ app.get("/watch", async function (req, res) {
|
||||||
const getColors = require('get-image-colors')
|
const getColors = require('get-image-colors')
|
||||||
var e = req.query.e;
|
var e = req.query.e;
|
||||||
var r = req.query.r;
|
var r = req.query.r;
|
||||||
|
|
||||||
const { toJson } = require("xml2json");
|
const { toJson } = require("xml2json");
|
||||||
const video = await fetch( `https://tube.kuylar.dev/api/video?v=${v}`);
|
const video = await fetch( `https://tube.kuylar.dev/api/video?v=${v}`);
|
||||||
const h = await video.text();
|
const h = await video.text();
|
||||||
|
|
Loading…
Reference in a new issue