This commit is contained in:
Ashley 2022-10-13 21:43:10 +02:00
parent 3cbd8e3ab9
commit e3b3b76c31

View file

@ -201,16 +201,16 @@ app.get("/watch", async function (req, res) {
var u = inv_vid.formatStreams; var u = inv_vid.formatStreams;
if (u.includes("url", 2)) { 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)) { 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; var url = u;
if (q === "medium") { if (q === "medium") {
var url = inv_vid.formatStreams[1].url; var url = `https://tube.kuylar.dev/proxy/media/${v}/18`;
} }
// encryption // encryption