summaryrefslogtreecommitdiff
path: root/utils/templates/etc
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2024-05-05 20:43:45 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-06-07 14:42:52 +0200
commit3bec04079c027b952dee95dab194f29ea12e12a5 (patch)
tree42fa4444622987a19e96a129b7efcb9b9d496595 /utils/templates/etc
parentd4c3d309952b3a50e553808d1c367ec5ca23d62c (diff)
downloadsearxng-3bec04079c027b952dee95dab194f29ea12e12a5.tar.gz
searxng-3bec04079c027b952dee95dab194f29ea12e12a5.zip
[feat] hostname replace plugin: possibility to prioritize certain websites
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates/etc')
-rw-r--r--utils/templates/etc/searxng/settings.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/utils/templates/etc/searxng/settings.yml b/utils/templates/etc/searxng/settings.yml
index b37dc2fb6..fbd935b0a 100644
--- a/utils/templates/etc/searxng/settings.yml
+++ b/utils/templates/etc/searxng/settings.yml
@@ -36,16 +36,22 @@ enabled_plugins:
- 'Self Informations'
- 'Tracker URL remover'
- 'Ahmia blacklist'
- # - 'Hostname replace' # see hostname_replace configuration below
+ # - 'Hostnames plugin' # see 'hostnames' configuration below
# - 'Open Access DOI rewrite'
# plugins:
# - only_show_green_results
-# hostname_replace:
-#
-# # twitter --> nitter
-# '(www\.)?twitter\.com$': 'nitter.net'
+# hostnames:
+# replace:
+# '(.*\.)?youtube\.com$': 'invidious.example.com'
+# '(.*\.)?youtu\.be$': 'invidious.example.com'
+# remove:
+# - '(.*\.)?facebook.com$'
+# low_priority:
+# - '(.*\.)?google\.com$'
+# high_priority:
+# - '(.*\.)?wikipedia.org$'
engines: