diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-25 18:44:28 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-25 18:44:28 +0100 |
commit | c89c05bcebb44699c94d6da2fcb8ad376b60fe67 (patch) | |
tree | 54920aff5d191b1dd1e3aa423822b746a2cb372c /searx/engines/google_news.py | |
parent | 6a3ef5561ba48e287f0b9c03a0b6d2f13b703077 (diff) | |
download | searxng-c89c05bcebb44699c94d6da2fcb8ad376b60fe67.tar.gz searxng-c89c05bcebb44699c94d6da2fcb8ad376b60fe67.zip |
bugfix: google-news and bing-news has changed the language parameter
closes: https://github.com/asciimoo/searx/issues/1838
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/google_news.py')
-rw-r--r-- | searx/engines/google_news.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py index 9c837b45b..c9cc75435 100644 --- a/searx/engines/google_news.py +++ b/searx/engines/google_news.py @@ -54,7 +54,7 @@ def request(query, params): if params['language'] != 'all': language = match_language(params['language'], supported_languages, language_aliases).split('-')[0] if language: - params['url'] += '&lr=lang_' + language + params['url'] += '&hl=' + language return params |