diff options
author | 0xhtml <34682885+0xhtml@users.noreply.github.com> | 2024-09-29 17:27:29 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-15 06:37:01 +0200 |
commit | 8b6a3f3e111e5581d90335378082bb8ef2cf06f4 (patch) | |
tree | 446204aa1620aefac255e76eaf849ab4a2713437 /searxng_extra | |
parent | 5b6f40414a9f8605140bd6fd66b66ac0b6d57e62 (diff) | |
download | searxng-8b6a3f3e111e5581d90335378082bb8ef2cf06f4.tar.gz searxng-8b6a3f3e111e5581d90335378082bb8ef2cf06f4.zip |
[enh] engine: mojeek - add language support
Improve region and language detection / all locale
Testing has shown the following behaviour for the different
default and empty values of Mojeeks parameters:
| param | idx | value | behaviour |
| -------- | --- | ------ | ------------------------- |
| region | 0 | '' | detect region based on IP |
| region | 1 | 'none' | all regions |
| language | 0 | '' | all languages |
Diffstat (limited to 'searxng_extra')
-rwxr-xr-x | searxng_extra/update/update_engine_traits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searxng_extra/update/update_engine_traits.py b/searxng_extra/update/update_engine_traits.py index ef5dc607c..e31a143ea 100755 --- a/searxng_extra/update/update_engine_traits.py +++ b/searxng_extra/update/update_engine_traits.py @@ -101,7 +101,7 @@ def fetch_traits_map(): def filter_locales(traits_map: EngineTraitsMap): """Filter language & region tags by a threshold.""" - min_eng_per_region = 15 + min_eng_per_region = 18 min_eng_per_lang = 20 _ = {} |