1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:14:39 -05:00
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;
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