1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:34:38 -05:00

Update server.js

This commit is contained in:
Ashley 2022-06-25 12:04:01 +03:00 committed by GitHub
parent ad98ea0471
commit b4775ff872

View file

@ -59,6 +59,7 @@ app.get("/watch", async function (req, res) {
const getColors = require('get-image-colors')
var e = req.query.e;
var r = req.query.r;
const { toJson } = require("xml2json");
const video = await fetch( `https://tube.kuylar.dev/api/video?v=${v}`);
const h = await video.text();