mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 01:09:21 +02:00
[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
This commit is contained in:
parent
b671e0364f
commit
0f43b39eac
4 changed files with 49 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue