summaryrefslogtreecommitdiff
path: root/searx/settings.yml
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 /searx/settings.yml
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 'searx/settings.yml')
-rw-r--r--searx/settings.yml26
1 files changed, 15 insertions, 11 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 46e34698a..8a1c00ba8 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -219,7 +219,7 @@ outgoing:
# - 'Tracker URL remover'
# - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
# # these plugins are disabled if nothing is configured ..
-# - 'Hostname replace' # see hostname_replace configuration below
+# - 'Hostnames plugin' # see 'hostnames' configuration below
# - 'Basic Calculator'
# - 'Open Access DOI rewrite'
# - 'Tor check plugin'
@@ -228,17 +228,21 @@ outgoing:
# # preferences if they want.
# - 'Autodetect search language'
-# Configuration of the "Hostname replace" plugin:
+# Configuration of the "Hostnames plugin":
#
-# hostname_replace:
-# '(.*\.)?youtube\.com$': 'invidious.example.com'
-# '(.*\.)?youtu\.be$': 'invidious.example.com'
-# '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
-# '(.*\.)?reddit\.com$': 'teddit.example.com'
-# '(.*\.)?redd\.it$': 'teddit.example.com'
-# '(www\.)?twitter\.com$': 'nitter.example.com'
-# # to remove matching host names from result list, set value to false
-# 'spam\.example\.com': false
+# hostnames:
+# replace:
+# '(.*\.)?youtube\.com$': 'invidious.example.com'
+# '(.*\.)?youtu\.be$': 'invidious.example.com'
+# '(.*\.)?reddit\.com$': 'teddit.example.com'
+# '(.*\.)?redd\.it$': 'teddit.example.com'
+# '(www\.)?twitter\.com$': 'nitter.example.com'
+# remove:
+# - '(.*\.)?facebook.com$'
+# low_priority:
+# - '(.*\.)?google(\..*)?$'
+# high_priority:
+# - '(.*\.)?wikipedia.org$'
checker:
# disable checker when in debug mode