summaryrefslogtreecommitdiff
path: root/searx/data/engine_traits.json
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-03 22:42:58 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commitc1ae2ef57c8a7da5df1f0fdacc0e6e745721b2ae (patch)
tree1e4137cf8fe42e2808b376376bcb143e47aa1dac /searx/data/engine_traits.json
parentfc0c7750301b3475631ddd34a031451e068235b0 (diff)
downloadsearxng-c1ae2ef57c8a7da5df1f0fdacc0e6e745721b2ae.tar.gz
searxng-c1ae2ef57c8a7da5df1f0fdacc0e6e745721b2ae.zip
[mod] qwant: fetch engine traits (data_type: traits_v1)
Implements a fetch_traits function for the Qwant engines. .. note:: Includes migration of the request methode from 'supported_languages' to 'traits' (EngineTraits) object! Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/data/engine_traits.json')
-rw-r--r--searx/data/engine_traits.json32
1 files changed, 16 insertions, 16 deletions
diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json
index 945ed2644..4fc01771e 100644
--- a/searx/data/engine_traits.json
+++ b/searx/data/engine_traits.json
@@ -3107,10 +3107,9 @@
"qwant": {
"all_locale": null,
"custom": {},
- "data_type": "supported_languages",
+ "data_type": "traits_v1",
"languages": {},
- "regions": {},
- "supported_languages": {
+ "regions": {
"bg-BG": "bg_BG",
"ca-ES": "ca_ES",
"cs-CZ": "cs_CZ",
@@ -3150,15 +3149,15 @@
"th-TH": "th_TH",
"zh-CN": "zh_CN",
"zh-HK": "zh_HK"
- }
+ },
+ "supported_languages": {}
},
"qwant images": {
"all_locale": null,
"custom": {},
- "data_type": "supported_languages",
+ "data_type": "traits_v1",
"languages": {},
- "regions": {},
- "supported_languages": {
+ "regions": {
"bg-BG": "bg_BG",
"ca-ES": "ca_ES",
"cs-CZ": "cs_CZ",
@@ -3198,15 +3197,15 @@
"th-TH": "th_TH",
"zh-CN": "zh_CN",
"zh-HK": "zh_HK"
- }
+ },
+ "supported_languages": {}
},
"qwant news": {
"all_locale": null,
"custom": {},
- "data_type": "supported_languages",
+ "data_type": "traits_v1",
"languages": {},
- "regions": {},
- "supported_languages": {
+ "regions": {
"ca-ES": "ca_ES",
"de-AT": "de_AT",
"de-CH": "de_CH",
@@ -3231,15 +3230,15 @@
"nl-BE": "nl_BE",
"nl-NL": "nl_NL",
"pt-PT": "pt_PT"
- }
+ },
+ "supported_languages": {}
},
"qwant videos": {
"all_locale": null,
"custom": {},
- "data_type": "supported_languages",
+ "data_type": "traits_v1",
"languages": {},
- "regions": {},
- "supported_languages": {
+ "regions": {
"bg-BG": "bg_BG",
"ca-ES": "ca_ES",
"cs-CZ": "cs_CZ",
@@ -3279,7 +3278,8 @@
"th-TH": "th_TH",
"zh-CN": "zh_CN",
"zh-HK": "zh_HK"
- }
+ },
+ "supported_languages": {}
},
"startpage": {
"all_locale": null,