diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-01-13 11:31:25 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-01-14 20:57:17 +0100 |
| commit | a4dcfa025c690dc4c824b2261242748a331a97e8 (patch) | |
| tree | 2085c05e8ba319411a4b729c589e660d973a5c7c /searx/engines/currency_convert.py | |
| parent | 5a511f0d620038b8e94c581bcfd3c987082b9414 (diff) | |
[enh] engines: add about variable
move meta information from comment to the about variable
so the preferences, the documentation can show these information
Diffstat (limited to 'searx/engines/currency_convert.py')
| -rw-r--r-- | searx/engines/currency_convert.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/engines/currency_convert.py b/searx/engines/currency_convert.py index 7098dd3c7..d4c3b5f81 100644 --- a/searx/engines/currency_convert.py +++ b/searx/engines/currency_convert.py @@ -1,5 +1,19 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +""" + currency convert (DuckDuckGo) +""" + import json +# about +about = { + "website": 'https://duckduckgo.com/', + "wikidata_id": 'Q12805', + "official_api_documentation": 'https://duckduckgo.com/api', + "use_official_api": False, + "require_api_key": False, + "results": 'JSONP', +} engine_type = 'online_currency' categories = [] |