[fix] engine - yahoo: rewrite and fix issues

Languages are supported by mapping the language to a domain.  If domain is not
found in :py:obj:`lang2domain` URL ``<lang>.search.yahoo.com`` is used.

BTW: fix issue reported at https://github.com/searx/searx/issues/3020

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-10-16 21:56:08 +02:00 committed by Markus Heiser
parent 38a157b56f
commit f63ffbb22b
3 changed files with 111 additions and 102 deletions

View file

@ -0,0 +1,8 @@
.. _yahoo engine:
============
Yahoo Engine
============
.. automodule:: searx.engines.yahoo
:members: