From 0f43b39eac44d548143b3944a2bfa26c039b2068 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 10 Sep 2021 12:43:33 +0200 Subject: [enh] add hostname_replace plugin * backport of https://github.com/searx/searx/pull/2724 * allow to remove result if the replacement is the boolean value false --- searx/plugins/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'searx/plugins/__init__.py') diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 3a35f7025..1153c9ed1 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -31,6 +31,7 @@ from searx.plugins import (oa_doi_rewrite, hash_plugin, infinite_scroll, self_info, + hostname_replace, search_on_category_select, tracker_url_remover, vim_hotkeys) @@ -182,6 +183,7 @@ plugins.register(oa_doi_rewrite) plugins.register(hash_plugin) plugins.register(infinite_scroll) plugins.register(self_info) +plugins.register(hostname_replace) plugins.register(search_on_category_select) plugins.register(tracker_url_remover) plugins.register(vim_hotkeys) -- cgit v1.2.3