summaryrefslogtreecommitdiff
path: root/searx/plugins/hash_plugin.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-01 16:21:56 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-17 15:29:07 +0200
commitf83b64270c6c8cff336889b93fdf6b6e3f20ffa2 (patch)
tree2346abe9ab8ea8c441e26d5eb38607cdd679e2f0 /searx/plugins/hash_plugin.py
parent92c68fe636ede2b10a2b4d71c559a22969b38f6f (diff)
downloadsearxng-f83b64270c6c8cff336889b93fdf6b6e3f20ffa2.tar.gz
searxng-f83b64270c6c8cff336889b93fdf6b6e3f20ffa2.zip
[mod] oscar theme /preferences: reorganize the preferences
close #115
Diffstat (limited to 'searx/plugins/hash_plugin.py')
-rw-r--r--searx/plugins/hash_plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/plugins/hash_plugin.py b/searx/plugins/hash_plugin.py
index 1d3baaede..edb91dd8e 100644
--- a/searx/plugins/hash_plugin.py
+++ b/searx/plugins/hash_plugin.py
@@ -23,6 +23,9 @@ import re
name = "Hash plugin"
description = gettext("Converts strings to different hash digests.")
default_on = True
+preference_section = 'query'
+query_keywords = ['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
+query_examples = 'sha512 The quick brown fox jumps over the lazy dog'
parser_re = re.compile('(md5|sha1|sha224|sha256|sha384|sha512) (.*)', re.I)