mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:57:54 +01:00
wow cool stuff
This commit is contained in:
parent
b9681bc8cb
commit
15b8b40b1b
1 changed files with 6 additions and 13 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue