summaryrefslogtreecommitdiff
path: root/searx/plugins/hostnames.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/hostnames.py')
-rw-r--r--searx/plugins/hostnames.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/plugins/hostnames.py b/searx/plugins/hostnames.py
index a59496946..77a07526f 100644
--- a/searx/plugins/hostnames.py
+++ b/searx/plugins/hostnames.py
@@ -106,6 +106,16 @@ REMOVE: set = set()
HIGH: set = set()
LOW: set = set()
+name = gettext('Hostnames plugin')
+description = gettext('Rewrite hostnames, remove results or prioritize them based on the hostname')
+default_on = True
+preference_section = 'general'
+
+plugin_id = 'hostnames'
+
+parsed = 'parsed_url'
+_url_fields = ['iframe_src', 'audio_src']
+
class SXNGPlugin(Plugin):
"""Rewrite hostnames, remove results or prioritize them."""