summaryrefslogtreecommitdiff
path: root/searx/engines/wikipedia.py
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2021-02-25 23:49:15 -0700
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2021-02-25 23:54:21 -0700
commitd6681fd33b31cd058f2ff15e035828251773acae (patch)
tree2269e9f26ae3423fe32ec8426a50a4e35ebce4f5 /searx/engines/wikipedia.py
parent9b6ffed061570e2540e219d66e5100a1572c07c8 (diff)
downloadsearxng-d6681fd33b31cd058f2ff15e035828251773acae.tar.gz
searxng-d6681fd33b31cd058f2ff15e035828251773acae.zip
remove articles number from engines_languages.json
Diffstat (limited to 'searx/engines/wikipedia.py')
-rw-r--r--searx/engines/wikipedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.py
index 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 articles
if articles >= 100:
- supported_languages[code] = {"name": name, "english_name": english_name, "articles": articles}
+ supported_languages[code] = {"name": name, "english_name": english_name}
return supported_languages