Logo
Explore Help
Sign In
djoka/searxng
1
0
Fork 0
You've already forked searxng
Code Issues Pull Requests Actions 3 Packages Projects Releases Wiki Activity
Files
6f9e3868d67d653f2fdc363e42cdf87534c7c3b0
searxng/searx/engines/dummy-offline.py

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
Powered by Gitea Version: 1.25.5 Page: 76ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API