.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self) | |
EngineResults | post_search (self, "SXNG_Request" request, "SearchWithPlugins" search) |
![]() | |
None | __init__ (self) |
int | __hash__ (self) |
__eq__ (self, other) | |
bool | init (self, flask.Flask app) |
bool | pre_search (self, SXNG_Request request, "SearchWithPlugins" search) |
bool | on_result (self, SXNG_Request request, "SearchWithPlugins" search, Result result) |
Public Attributes | |
parser_re = re.compile(f"({'|'.join(self.keywords)}) (.*)", re.I) | |
info | |
Additional Inherited Members | |
![]() | |
typing | id .ClassVar[str] |
typing | default_on .ClassVar[bool] |
list | keywords = [] |
logging | log .Logger |
Plugin converts strings to different hash digests. The results are displayed in area for the "answers".
Definition at line 19 of file hash_plugin.py.
searx.plugins.hash_plugin.SXNGPlugin.__init__ | ( | self | ) |
Definition at line 28 of file hash_plugin.py.
References __init__().
Referenced by __init__().
EngineResults searx.plugins.hash_plugin.SXNGPlugin.post_search | ( | self, | |
"SXNG_Request" | request, | ||
"SearchWithPlugins" | search ) |
Returns a result list only for the first page.
Reimplemented from searx.plugins._core.Plugin.
Definition at line 40 of file hash_plugin.py.
References parser_re.
searx.plugins.hash_plugin.SXNGPlugin.info |
Definition at line 32 of file hash_plugin.py.
searx.plugins.hash_plugin.SXNGPlugin.parser_re = re.compile(f"({'|'.join(self.keywords)}) (.*)", re.I) |
Definition at line 31 of file hash_plugin.py.
Referenced by post_search().