diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-10-08 16:22:26 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-03-24 10:37:42 +0100 |
commit | 7daf4f95efb2c8b37f682d42e470bb78ce464f19 (patch) | |
tree | fa6fc1cd4b3a527748c0b4af0c7d94c8aacbba01 /searx/engines/wikidata.py | |
parent | f78f9083836be851c224b4334b53b9686835e300 (diff) | |
download | searxng-7daf4f95efb2c8b37f682d42e470bb78ce464f19.tar.gz searxng-7daf4f95efb2c8b37f682d42e470bb78ce464f19.zip |
[mod] Wikipedia: fetch engine traits (data_type: supported_languages)
Implements a fetch_traits function for the Wikipedia engines.
.. note::
Does not include migration of the request methode from 'supported_languages'
to 'traits' (EngineTraits) object!
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/wikidata.py')
-rw-r--r-- | searx/engines/wikidata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.py index 8d3b0839a..a38600978 100644 --- a/searx/engines/wikidata.py +++ b/searx/engines/wikidata.py @@ -16,6 +16,7 @@ from searx.network import post, get from searx.utils import match_language, searx_useragent, get_string_replaces_function from searx.external_urls import get_external_url, get_earth_coordinates_url, area_to_osm_zoom from searx.engines.wikipedia import ( # pylint: disable=unused-import + fetch_traits, _fetch_supported_languages, supported_languages_url, ) |