Markus Heiser 0647f83a3e [fix] google engine: don't overspecify the search query to Google
The method EngineTraits.get_region(..) returns engine's region string
that **best fits** to SearXNG's locale.  This means it returns a
region (country) if only a language is set in the locale.  By example the method
returns for a locale tag `es` a region `ES`.

Google's search parameter `cr` restricts search results to documents originating
in a particular country / in case of a locale tag (language) as described above,
this argument should be unset in the query send to Google.

Closes: https://github.com/searxng/searxng/issues/2672
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-26 07:47:07 +02:00
..
2023-03-15 19:55:20 +01:00
2022-09-23 20:45:58 +02:00
2022-08-10 09:14:36 +02:00
2021-12-27 10:16:20 +01:00
2021-01-14 20:57:17 +01:00
2022-01-05 11:00:11 +01:00
2022-01-28 22:33:41 +01:00
2022-07-04 19:06:45 +02:00
2022-11-07 08:07:06 -06:00
2023-08-03 16:23:36 +02:00
2022-09-23 20:45:58 +02:00
2022-01-02 21:18:29 +01:00
2022-08-17 19:45:42 +07:00
2022-01-30 19:48:40 +01:00
2023-08-03 19:58:51 +02:00
2021-12-27 10:16:20 +01:00