diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-01 11:07:59 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-01 11:07:59 +0100 |
commit | 1c853f9573a85d9885d3c99b7e3210c834e5e5f3 (patch) | |
tree | c48ef6a27f4ae2a44119cfd53c5826fec6b8e54f /searx/engines/bing.py | |
parent | 79412828cdf009320a4c593f7597a36385ce0e9b (diff) | |
download | searxng-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.py')
-rw-r--r-- | searx/engines/bing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py index c8fc4fa2e..afb776acd 100644 --- a/searx/engines/bing.py +++ b/searx/engines/bing.py @@ -120,7 +120,7 @@ def _fetch_supported_languages(resp): href = eval_xpath(a, './@href')[0] match = setmkt.search(href) l_tag = match.groups()[0] - _lang, _nation = l_tag.split('-',1) + _lang, _nation = l_tag.split('-', 1) l_tag = _lang.lower() + '-' + _nation.upper() lang_tags.add(l_tag) |