mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 23:17:57 +01:00
whoa cool stuff
This commit is contained in:
parent
c410df6eca
commit
b4a17bd25a
1 changed files with 3 additions and 16 deletions
|
@ -36,17 +36,6 @@ const {
|
||||||
module.exports = async function (video_id) {
|
module.exports = async function (video_id) {
|
||||||
var url;
|
var url;
|
||||||
|
|
||||||
// bad proxys - the proxys that dont work
|
|
||||||
var badurls = [
|
|
||||||
"invidious.tiekoetter.com",
|
|
||||||
"yewtu.be",
|
|
||||||
"invidious.slipfox.xyz",
|
|
||||||
"vid.priv.au",
|
|
||||||
];
|
|
||||||
|
|
||||||
// good proxys - proxys that DO work alot good
|
|
||||||
var goodurls = ["invidious.sethforprivacy.com", "invidious.weblibre.org"];
|
|
||||||
|
|
||||||
function toObject(arr) {
|
function toObject(arr) {
|
||||||
var rv = {};
|
var rv = {};
|
||||||
for (var i = 0; i < arr.length; ++i)
|
for (var i = 0; i < arr.length; ++i)
|
||||||
|
@ -76,11 +65,9 @@ module.exports = async function (video_id) {
|
||||||
.replace("invidious.tiekoetter.com", "invidious.weblibre.org")
|
.replace("invidious.tiekoetter.com", "invidious.weblibre.org")
|
||||||
.replace("yewtu.be", "invidious.sethforprivacy.com")
|
.replace("yewtu.be", "invidious.sethforprivacy.com")
|
||||||
.replace("invidious.slipfox.xyz", "invidious.weblibre.org")
|
.replace("invidious.slipfox.xyz", "invidious.weblibre.org")
|
||||||
.replace("vid.priv.au", "invidious.weblibre.org")
|
.replace("vid.priv.au", "inv.vern.cc")
|
||||||
.replace("invidious.snopyta.org", "invidious.weblibre.org");
|
.replace("invidious.snopyta.org", "invidious.sethforprivacy.com");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stringed[1].uri == "https://inv.vern.cc") url = "https://invidious.weblibre.org";
|
|
||||||
|
|
||||||
return url;
|
return url;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue