Retoor software development Projects Research SearchXNG
Register Sign In

21 lines
339 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):
return [{
'result': 'this is what you get',
}]
Reference in New Issue Copy Permalink
fcdc2c2cd2
BranchesTags
No results found.
searxng/searx/engines/dummy-offline.py
Response time: 116ms
Mail Licenses API