diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-10-03 10:06:17 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-03-24 10:37:42 +0100 |
commit | d3aa690a7a7250f2052338d20e179fbb2252fa43 (patch) | |
tree | b75278ea73f350ad0b899061bee3d70c397e7533 /searx/engines/bing_news.py | |
parent | a7fe22770a830cafa4d74a7d5e6ae848c18a9f75 (diff) | |
download | searxng-d3aa690a7a7250f2052338d20e179fbb2252fa43.tar.gz searxng-d3aa690a7a7250f2052338d20e179fbb2252fa43.zip |
[mod] bing: fetch engine traits (data_type: supported_languages)
Implements a fetch_traits function for the Bing 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/bing_news.py')
-rw-r--r-- | searx/engines/bing_news.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py index 7eea17bb4..8a5f70259 100644 --- a/searx/engines/bing_news.py +++ b/searx/engines/bing_news.py @@ -17,6 +17,7 @@ from searx.utils import match_language, eval_xpath_getindex from searx.engines.bing import ( # pylint: disable=unused-import language_aliases, _fetch_supported_languages, + fetch_traits, supported_languages_url, ) |