[qutebrowser] Custom URL rewrites/redirects

Jay Kamat jaygkamat at gmail.com
Fri Jun 14 11:35:53 CEST 2019


Javier Ayres writes:

> Hi all. I'm wondering if qutebrowser has a feature which I'm not sure
> exactly how is it called, so I'm having trouble looking for it in the
> documentation.
>
> What I want is to write a set to rules that will modify the URLs of
> the requests I'm making according to a pattern. For example: I want
> that every request I make to a URL that looks like
> "https://www.reddit.com/*" is re-routed to "https://old.reddit.com/*".

I use this to do this for me:

http://www.gitlab.com/jgkamat/dotfiles/blob/master/qutebrowser/.config/qutebrowser/pyconfig/redirectors.py#L34


More information about the qutebrowser mailing list