summaryrefslogtreecommitdiff
path: root/searx/engines/bing_news.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-10-03 10:06:17 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2023-03-24 10:37:42 +0100
commitd3aa690a7a7250f2052338d20e179fbb2252fa43 (patch)
treeb75278ea73f350ad0b899061bee3d70c397e7533 /searx/engines/bing_news.py
parenta7fe22770a830cafa4d74a7d5e6ae848c18a9f75 (diff)
downloadsearxng-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.py1
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,
)