Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] google-news: query uses locale without country tag

Markus Heiser5f92dfcdbe6e
diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py
index d04ff153b..f5f289bb7 100644
--- a/searx/engines/google_news.py
+++ b/searx/engines/google_news.py
@@ -85,7 +85,7 @@ def request(query, params):
query_url = 'https://'+ subdomain + '/search' + "?" + urlencode({
'q': query,
- 'hl': language,
+ 'hl': lang_country,
'lr': "lang_" + language,
'ie': "utf8",
'oe': "utf8",