From e3b3b76c3194f51d8700c7b65be67d9a612b3511 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 13 Oct 2022 21:43:10 +0200 Subject: [PATCH] qwq --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 1d4440d9..4f7abe03 100644 --- a/server.js +++ b/server.js @@ -201,16 +201,16 @@ app.get("/watch", async function (req, res) { var u = inv_vid.formatStreams; if (u.includes("url", 2)) { - u = inv_vid.formatStreams[2].url; + u = `https://inv.vern.cc/latest_version?id=${v}&itag=22&local=true` } if (!u.includes("url", 2)) { - u = inv_vid.formatStreams[1].url; + u = `https://inv.vern.cc/latest_version?id=${v}&itag=18&local=true`; } var url = u; if (q === "medium") { - var url = inv_vid.formatStreams[1].url; + var url = `https://tube.kuylar.dev/proxy/media/${v}/18`; } // encryption