|
|
|
|
|
by treeshateorcs
554 days ago
|
|
you can redirect in QB. this is how i do it (from my config): def redirect(info: interceptor.Request):
if info.request_url.host() == "en.m.wikipedia.org":
new_url = QUrl(info.request_url)
new_url.setHost("en.wikipedia.org")
try:
info.redirect(new_url)
except interceptors.RedirectFailedException:
pass
|
|