summaryrefslogtreecommitdiff
path: root/searx/engines/bing_news.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-01 11:07:59 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-01 11:07:59 +0100
commit1c853f9573a85d9885d3c99b7e3210c834e5e5f3 (patch)
treec48ef6a27f4ae2a44119cfd53c5826fec6b8e54f /searx/engines/bing_news.py
parent79412828cdf009320a4c593f7597a36385ce0e9b (diff)
downloadsearxng-1c853f9573a85d9885d3c99b7e3210c834e5e5f3.tar.gz
searxng-1c853f9573a85d9885d3c99b7e3210c834e5e5f3.zip
bing_news: parital rollback of c89c05bc
The bing_news bug (discussed in #1838) was caused by wrong language tags, which was fixed e0c99d9d / no need to change the bing_news search string. closes: https://github.com/asciimoo/searx/issues/1838 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/bing_news.py')
-rw-r--r--searx/engines/bing_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py
index 14fd7b99a..d13be777c 100644
--- a/searx/engines/bing_news.py
+++ b/searx/engines/bing_news.py
@@ -61,7 +61,7 @@ def _get_url(query, language, offset, time_range):
else:
# e.g. setmkt=de-de&setlang=de
search_path = search_string.format(
- query=urlencode({'q': query, 'setlang': language}),
+ query=urlencode({'q': query, 'setmkt': language}),
offset=offset)
return base_url + search_path