Retoor software development Projects Research SearchXNG
Register Sign In

23 lines
361 B
Python
Raw Normal View History

[enh] engines: add about variable move meta information from comment to the about variable so the preferences, the documentation can show these information
2021-01-13 11:31:25 +01:00
# SPDX-License-Identifier: AGPL-3.0-or-later
[enh] introduce private engines This PR adds a new setting to engines named `tokens`. It expects a list of tokens which lets searx validate if the request should be accepted or not.
2020-02-01 11:01:17 +01:00
"""
Dummy Offline
"""
[enh] engines: add about variable move meta information from comment to the about variable so the preferences, the documentation can show these information
2021-01-13 11:31:25 +01:00
# about
about = {
"wikidata_id": None,
"official_api_documentation": None,
"use_official_api": False,
"require_api_key": False,
"results": 'HTML',
}
[enh] introduce private engines This PR adds a new setting to engines named `tokens`. It expects a list of tokens which lets searx validate if the request should be accepted or not.
2020-02-01 11:01:17 +01:00
def search(query, request_params):
[format.python] initial formatting of the python code This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27 09:26:22 +01:00
return [
{
'result': 'this is what you get',
}
]
Reference in New Issue Copy Permalink
7f30ac37e9
searxng/searx/engines/dummy-offline.py
Response time: 61ms
Mail Licenses API