summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-08-05 15:46:40 +0200
committerDalf <alex@al-f.net>2019-08-05 15:46:40 +0200
commit1cee2c1796f50b2646c8dee0fcc5e9df754c9246 (patch)
treefe054e6a10efe9496419fbcd7b3d8a918be52a17 /searx/engines/bing.py
parent9a378ca8c6866abb3c79d3f8c43189f918e33555 (diff)
downloadsearxng-1cee2c1796f50b2646c8dee0fcc5e9df754c9246.tar.gz
searxng-1cee2c1796f50b2646c8dee0fcc5e9df754c9246.zip
[fix] bing engine
before this commit, sometimes there are no results use a generic user-agent instead of one with the OS "Windows NT 6.3; WOW64"
Diffstat (limited to 'searx/engines/bing.py')
-rw-r--r--searx/engines/bing.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py
index 742379c1a..ba22cc6b4 100644
--- a/searx/engines/bing.py
+++ b/searx/engines/bing.py
@@ -47,8 +47,6 @@ def request(query, params):
params['url'] = base_url + search_path
- params['headers']['User-Agent'] = gen_useragent('Windows NT 6.3; WOW64')
-
return params