mirror of
https://github.com/searxng/searxng.git
synced 2026-09-12 17:26:05 +00:00
[fix] engine: bing images - remove market place argument mkt (#6699)
The ``mkt`` argument does no longer exists and the ``async`` argument has been renamed to ``mmasync``. For still unknown reasons (IP based?), some users had to observe that the title was missing [1]. I myself was not able to reproduce this error, however the evaluation of the title was additionally expanded by the attribute value of the ``<a title=".."`` element. Related: - [1] https://github.com/searxng/searxng/pull/6690#issuecomment-5636811572 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
87bf8c86ed
commit
923a307454
@@ -62,8 +62,8 @@ def get_locale_params(engine_region: str | None) -> dict[str, str] | None:
|
||||
|
||||
The ``mkt`` parameter takes a full ``<language>-<country>`` code.
|
||||
|
||||
This function is shared with :py:mod:`searx.engines.bing_images`,
|
||||
:py:mod:`searx.engines.bing_news`, and :py:mod:`searx.engines.bing_videos`.
|
||||
This function is shared with :py:mod:`searx.engines.bing_news`, and
|
||||
:py:mod:`searx.engines.bing_videos`.
|
||||
"""
|
||||
|
||||
if not engine_region or engine_region == "clear":
|
||||
|
||||
Reference in New Issue
Block a user