diff --git a/server.js b/server.js index 9fed129..03b74b0 100644 --- a/server.js +++ b/server.js @@ -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();