mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-22 14:52:47 +00:00
qute: add and change redirects
This commit is contained in:
parent
c43402aed4
commit
d50a9cb51f
|
@ -2,7 +2,7 @@ from qutebrowser.api import interceptor
|
|||
import operator
|
||||
|
||||
invid = 'vid.puffyan.us'
|
||||
nitter = 'nitter.snopyta.org'
|
||||
nitter = 'nitter.net'
|
||||
reddit = 'libreddit.pussthecat.org'
|
||||
|
||||
o = operator.methodcaller
|
||||
|
@ -21,12 +21,13 @@ MAP = {
|
|||
"youtube.com": o(s, invid),
|
||||
"www.youtube.com": o(s, invid),
|
||||
|
||||
"www.instagram.com": o(s, 'bibliogram.art'),
|
||||
"www.instagram.com": o(s, 'bibliogram.pussthecat.org'),
|
||||
"www.amazon.com": o(s, 'smile.amazon.com'),
|
||||
"imgur.com" : o(s, 'imgin.voidnet.tech'),
|
||||
"imgur.com" : o(s, 'i.bcow.xyz'),
|
||||
"medium.com" : o(s, 'scribe.rip'),
|
||||
"www.twitch.tv" : o(s, 'm.twitch.tv'),
|
||||
"discord.com" : o(s, 'canary.discord.com')
|
||||
"discord.com" : o(s, 'canary.discord.com'),
|
||||
"vm.tiktok.com" : o(s, 'proxitok.herokuapp.com')
|
||||
}
|
||||
def f(info: i.Request):
|
||||
if (info.resource_type != i.ResourceType.main_frame or
|
||||
|
|
Loading…
Reference in a new issue