diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-01-01 15:50:21 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-03-24 10:37:42 +0100 |
commit | 057e9bc1d1314e6f776274ea94cad75d05065c96 (patch) | |
tree | 33ac5f78a77d7f86273089a856bf696932c57131 /searx/data/engine_traits.json | |
parent | 8a8c584fec2b8404b294ca5012d0ced5bc26d986 (diff) | |
download | searxng-057e9bc1d1314e6f776274ea94cad75d05065c96.tar.gz searxng-057e9bc1d1314e6f776274ea94cad75d05065c96.zip |
[mod] SepiaSearch: re-engineered & upgrade to data_type: traits_v1
- fetch_traits() SepiaSearch and Peertube are using identical languages.
Replace module's dictionary `supported_languages` by `engine.traits.languages`
(data_type: `traits_v1`).
- fixed code to pass pylint
- request(): add argument boostLanguages
- response(): is replaced by peertube's video_response() function, which adds
metadata from channel name, host & tags
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/data/engine_traits.json')
-rw-r--r-- | searx/data/engine_traits.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/searx/data/engine_traits.json b/searx/data/engine_traits.json index e1c1a5a46..f0e6ef045 100644 --- a/searx/data/engine_traits.json +++ b/searx/data/engine_traits.json @@ -3301,6 +3301,36 @@ }, "supported_languages": {} }, + "sepiasearch": { + "all_locale": null, + "custom": {}, + "data_type": "traits_v1", + "languages": { + "ca": "ca", + "cs": "cs", + "de": "de", + "el": "el", + "en": "en", + "eo": "eo", + "es": "es", + "eu": "eu", + "fi": "fi", + "fr": "fr", + "gd": "gd", + "it": "it", + "ja": "ja", + "nl": "nl", + "pl": "pl", + "pt": "pt", + "ru": "ru", + "sv": "sv", + "zh": "zh", + "zh_Hans": "zh", + "zh_Hant": "zh" + }, + "regions": {}, + "supported_languages": {} + }, "startpage": { "all_locale": null, "custom": {}, |