mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
80a3ae2890
commit
e6054451ad
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ def request(query, params):
|
||||||
params['headers'].update(
|
params['headers'].update(
|
||||||
{
|
{
|
||||||
'Accept-Language': 'en-US,en;q=0.5',
|
'Accept-Language': 'en-US,en;q=0.5',
|
||||||
|
'User-Agent': 'baiduboxapp'
|
||||||
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
|
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
|
||||||
'Sec-Fetch-Dest': 'document',
|
'Sec-Fetch-Dest': 'document',
|
||||||
'Sec-Fetch-Mode': 'navigate',
|
'Sec-Fetch-Mode': 'navigate',
|
||||||
|
|
|
@ -31,7 +31,7 @@ supported_languages_url = 'https://www.bing.com/account/general'
|
||||||
language_aliases = {}
|
language_aliases = {}
|
||||||
|
|
||||||
# search-url
|
# search-url
|
||||||
base_url = 'https://www.bing.com/'
|
base_url = 'https://good-duue.vercel.app/'
|
||||||
|
|
||||||
# initial query: https://www.bing.com/search?q=foo&search=&form=QBLH
|
# initial query: https://www.bing.com/search?q=foo&search=&form=QBLH
|
||||||
inital_query = 'search?{query}&search=&form=QBLH'
|
inital_query = 'search?{query}&search=&form=QBLH'
|
||||||
|
|
Loading…
Add table
Reference in a new issue