wow cool stuff

This commit is contained in:
Ashley 2023-01-11 19:06:10 +00:00
parent b9681bc8cb
commit 15b8b40b1b

View file

@ -70,24 +70,17 @@ module.exports = async function (video_id) {
const stringed = toObject(instance); const stringed = toObject(instance);
if (stringed[1].type != "https") { if (stringed[1].type != "https") {
url = "https://vid.puffyan.us"; url = "https://invidious.weblibre.org";
} else { } else {
url = stringed[1].uri url = stringed[1].uri
.replace("invidious.tiekoetter.com", "invidious.weblibre.org") .replace("invidious.tiekoetter.com", "invidious.weblibre.org")
.replace( .replace("yewtu.be", "invidious.sethforprivacy.com")
"yewtu.be", .replace("invidious.slipfox.xyz", "invidious.weblibre.org")
"invidious.sethforprivacy.com", .replace("vid.priv.au", "invidious.weblibre.org")
"invidious.slipfox.xyz", .replace("invidious.snopyta.org", "invidious.weblibre.org");
"invidious.weblibre.org",
"vid.priv.au",
"invidious.weblibre.org",
"invidious.snopyta.org",
"invidious.weblibre.org"
);
} }
if (stringed[1].uri == "https://inv.vern.cc") url = "https://vid.puffyan.us"; if (stringed[1].uri == "https://inv.vern.cc") url = "https://invidious.weblibre.org";
return url; return url;
}; };