diff options
author | Alexandre Flament <alex@al-f.net> | 2021-10-26 12:10:29 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-10-26 12:13:23 +0200 |
commit | 828088fa5ae3e051bfcd61ae5f89a530d55d11e4 (patch) | |
tree | 4739f4ba0935880892b4f66a43548a2e2c4fb867 /searxng_extra | |
parent | 9fe1ee4ed964810c7de9a39ec7f865d0df96e5eb (diff) | |
download | searxng-828088fa5ae3e051bfcd61ae5f89a530d55d11e4.tar.gz searxng-828088fa5ae3e051bfcd61ae5f89a530d55d11e4.zip |
[mod] update_languages: min_engines_per_country=7
a (language,country) tuple is included if 7 engines have it, was 10 before.
close #432
Diffstat (limited to 'searxng_extra')
-rwxr-xr-x | searxng_extra/update/update_languages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searxng_extra/update/update_languages.py b/searxng_extra/update/update_languages.py index e05dced69..2d7ffc104 100755 --- a/searxng_extra/update/update_languages.py +++ b/searxng_extra/update/update_languages.py @@ -111,7 +111,7 @@ def join_language_lists(engines_languages): # Filter language list so it only includes the most supported languages and countries def filter_language_list(all_languages): min_engines_per_lang = 13 - min_engines_per_country = 10 + min_engines_per_country = 7 main_engines = [engine_name for engine_name in engines.keys() if 'general' in engines[engine_name].categories and engines[engine_name].supported_languages and |