mirror of
https://github.com/searxng/searxng.git
synced 2025-08-01 01:22:22 +02:00
[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>
This commit is contained in:
parent
f78f908383
commit
7daf4f95ef
3 changed files with 391 additions and 6 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue