From 0d26c245aedfbb8325be4bdf180070fe492b338c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 15 Nov 2023 14:24:27 +0100 Subject: [PATCH] qutebrowser: Update invidious redirects --- qutebrowser/config/redirects.py | 35 +++++++++++++-------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/qutebrowser/config/redirects.py b/qutebrowser/config/redirects.py index 0becf2f..417e36c 100644 --- a/qutebrowser/config/redirects.py +++ b/qutebrowser/config/redirects.py @@ -31,29 +31,21 @@ redirects = { "youtube": { "source": ["youtube.com"], "target": [ - "yt.oelrichsgarcia.de", - "invidious.weblibre.org", - "invidious.dhusch.de", - "iv.ggtyler.dev", - "invidious.baczek.me", - "yt.funami.tech", - "iv.melmac.space", - "invidious.silur.me", - "invidious.lidarshield.cloud", - "invidious.flokinet.to", - "invidious.snopyta.org", - "invidious.kavin.rocks", - "vid.puffyan.us", - "yt.artemislena.eu", + "invidious.no-logs.com", + "inv.citw.lgbt", + "invidious.privacydev.net", + "inv.tux.pizza", + "invidious.einfachzocken.eu", + "invidious.perennialte.ch", + "invidious.fdn.fr", "invidious.nerdvpn.de", - "invidious.tiekoetter.com", - "invidious.namazso.eu", - "inv.vern.cc", + "inv.zzls.xyz", + "invidious.private.coffee", + "invidious.projectsegfau.lt", + "invidious.lunar.icu", "yewtu.be", - "inv.bp.projectsegfau.lt", - "invidious.epicsite.xyz", - "y.com.sb", - "invidious.sethforprivacy.com", + "iv.melmac.space", + "iv.datura.network", ], }, "lbry": { @@ -194,6 +186,7 @@ redirects = { }, } + def rewrite(request: interceptor.Request) -> None: # if config.get(name="content.oss_redirects") is False: # return