From 1705362638a82d6dab0316e9d78fbb4abe70eb26 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 19 Mar 2023 18:00:32 +0000 Subject: [PATCH] add bad proxy stuff lol --- src/libpoketube/libpoketube-video.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/libpoketube/libpoketube-video.js b/src/libpoketube/libpoketube-video.js index 42b4fade..b2676f97 100644 --- a/src/libpoketube/libpoketube-video.js +++ b/src/libpoketube/libpoketube-video.js @@ -53,15 +53,21 @@ module.exports = async function (video_id) { let url; if (instance[1].type != "https") { - url = "https://invidious.sethforprivacy.com"; + url = "https://invidious.lunar.icu"; } else { + //replaces bad proxys (e.g the proxys that do not support media proxys, or the proxys that are down ) url = instance[1].uri - .replace("invidious.tiekoetter.com", "invidious.sethforprivacy.com") - .replace("yewtu.be", "invidious.sethforprivacy.com") - .replace("invidious.slipfox.xyz", "invidious.sethforprivacy.com") + .replace("invidious.tiekoetter.com", "inv.odyssey346.dev") + .replace("invidious.slipfox.xyz", "invidious.lunar.icu") + .replace("yewtu.be", "invidious.lunar.icu") + .replace("iv.melmac.space", "inv.vern.cc") + .replace("yt.oelrichsgarcia.de", "y.com.sb") + .replace("invidious.lidarshield.cloud", "inv.odyssey346.dev") .replace("vid.priv.au", "inv.vern.cc") - .replace("invidious.snopyta.org", "invidious.sethforprivacy.com") - .replace("invidious.weblibre.org", "invidious.sethforprivacy.com"); + .replace("watch.thekitty.zone", "y.com.sb") + .replace("invidious.snopyta.org", "inv.odyssey346.dev") + .replace("invidious.weblibre.org", "invidious.lunar.icu") + .replace("invidious.sethforprivacy.com", "y.com.sb") } return url;