Commit 1cee2c17 authored by Dalf's avatar Dalf

[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"
parent 9a378ca8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment