diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py index e00c8748..eb074ebc 100644 --- a/searx/engines/google_news.py +++ b/searx/engines/google_news.py @@ -91,8 +91,8 @@ def request(query, params): ceid = "%s:%s" % (lang_info['country'], lang_info['language']) # google news redirects en to en-US - if lang_info['hl'] == 'en': - lang_info['hl'] = 'en-US' + if lang_info['params']['hl'] == 'en': + lang_info['params']['hl'] = 'en-US' # Very special to google-news compared to other google engines, the time # range is included in the search term.