mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 12:17:52 +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);
|
||||
|
||||
if (stringed[1].type != "https") {
|
||||
url = "https://vid.puffyan.us";
|
||||
url = "https://invidious.weblibre.org";
|
||||
} else {
|
||||
url = stringed[1].uri
|
||||
.replace("invidious.tiekoetter.com", "invidious.weblibre.org")
|
||||
.replace(
|
||||
"yewtu.be",
|
||||
"invidious.sethforprivacy.com",
|
||||
"invidious.slipfox.xyz",
|
||||
"invidious.weblibre.org",
|
||||
"vid.priv.au",
|
||||
"invidious.weblibre.org",
|
||||
"invidious.snopyta.org",
|
||||
"invidious.weblibre.org"
|
||||
);
|
||||
|
||||
.replace("yewtu.be", "invidious.sethforprivacy.com")
|
||||
.replace("invidious.slipfox.xyz", "invidious.weblibre.org")
|
||||
.replace("vid.priv.au", "invidious.weblibre.org")
|
||||
.replace("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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue