Update server.js

This commit is contained in:
Ashley 2022-06-25 12:04:01 +03:00 committed by GitHub
parent 5a5758c2b9
commit 74b5c408f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();