summaryrefslogtreecommitdiff
path: root/searx/data/engine_traits.json
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-04 00:30:26 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commitef143729a0b69b35834482ecdbbf97c15dc6a40d (patch)
treef1691eacfb836b7922df16eab8f6194e0595237e /searx/data/engine_traits.json
parentc1ae2ef57c8a7da5df1f0fdacc0e6e745721b2ae (diff)
downloadsearxng-ef143729a0b69b35834482ecdbbf97c15dc6a40d.tar.gz
searxng-ef143729a0b69b35834482ecdbbf97c15dc6a40d.zip
[mod] yahoo: fetch engine traits (data_type: traits_v1)
Implements a fetch_traits function for the Yahoo engine. .. 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.json74
1 files changed, 37 insertions, 37 deletions
diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json
index 4fc01771e..27b665cbb 100644
--- a/searx/data/engine_traits.json
+++ b/searx/data/engine_traits.json
@@ -6234,43 +6234,43 @@
}
},
"yahoo": {
- "all_locale": null,
- "data_type": "supported_languages",
- "languages": {},
+ "all_locale": "any",
+ "data_type": "traits_v1",
+ "languages": {
+ "ar": "ar",
+ "bg": "bg",
+ "cs": "cs",
+ "da": "da",
+ "de": "de",
+ "el": "el",
+ "en": "en",
+ "es": "es",
+ "et": "et",
+ "fi": "fi",
+ "fr": "fr",
+ "he": "he",
+ "hr": "hr",
+ "hu": "hu",
+ "it": "it",
+ "ja": "ja",
+ "ko": "ko",
+ "lt": "lt",
+ "lv": "lv",
+ "nl": "nl",
+ "no": "no",
+ "pl": "pl",
+ "pt": "pt",
+ "ro": "ro",
+ "ru": "ru",
+ "sk": "sk",
+ "sl": "sl",
+ "sv": "sv",
+ "th": "th",
+ "tr": "tr",
+ "zh_Hans": "zh_chs",
+ "zh_Hant": "zh_cht"
+ },
"regions": {},
- "supported_languages": [
- "ar",
- "bg",
- "cs",
- "da",
- "de",
- "el",
- "en",
- "es",
- "et",
- "fi",
- "fr",
- "he",
- "hr",
- "hu",
- "it",
- "ja",
- "ko",
- "lt",
- "lv",
- "nl",
- "no",
- "pl",
- "pt",
- "ro",
- "ru",
- "sk",
- "sl",
- "sv",
- "th",
- "tr",
- "zh_chs",
- "zh_cht"
- ]
+ "supported_languages": {}
}
}