searxng/searx/engines/dummy.py

25 lines
397 B
Python
Raw Permalink Normal View History

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Dummy
"""
2014-09-02 15:20:16 +00:00
# about
about = {
"website": None,
"wikidata_id": None,
"official_api_documentation": None,
"use_official_api": False,
"require_api_key": False,
"results": 'empty array',
}
2014-09-02 15:20:16 +00:00
# do search-request
2014-01-25 17:07:57 +00:00
def request(query, params):
return params
2014-09-02 15:20:16 +00:00
# get response from search-request
2014-01-25 17:07:57 +00:00
def response(resp):
return []