From 3bec04079c027b952dee95dab194f29ea12e12a5 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 5 May 2024 20:43:45 +0200 Subject: [feat] hostname replace plugin: possibility to prioritize certain websites Co-authored-by: Markus Heiser --- utils/templates/etc/searxng/settings.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'utils/templates/etc') 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: -- cgit v1.2.3-54-g00ecf