SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
remove articles number from engines_languages.json
Marc Abonce Seguind6681fd33b31
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.pyindex 2adfefa69..da867c81e 100644--- a/searx/engines/wikipedia.py+++ b/searx/engines/wikipedia.py@@ -106,6 +106,6 @@ def _fetch_supported_languages(resp):articles = int(td[4].xpath('./a/b')[0].text.replace(',', ''))# exclude languages with too few articlesif articles >= 100:- supported_languages[code] = {"name": name, "english_name": english_name, "articles": articles}+ supported_languages[code] = {"name": name, "english_name": english_name}return supported_languagesdiff --git a/utils/fetch_languages.py b/utils/fetch_languages.pyindex 453693136..582e0ae00 100644--- a/utils/fetch_languages.py+++ b/utils/fetch_languages.py@@ -2,8 +2,7 @@# This script generates languages.py from intersecting each engine's supported languages.#-# Output files (engines_languages.json and languages.py)-# are written in current directory to avoid overwriting in case something goes wrong.+# Output files: searx/data/engines_languages.json and searx/languages.pyimport jsonfrom pathlib import Path