mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 00:37:49 +01:00
Update server.js
This commit is contained in:
parent
ad98ea0471
commit
b4775ff872
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