mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 21:59:22 +02:00
[mod] update_languages: min_engines_per_country=7
a (language,country) tuple is included if 7 engines have it, was 10 before. close #432
This commit is contained in:
parent
9fe1ee4ed9
commit
828088fa5a
2 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue