mirror of
https://github.com/searx/searx
synced 2025-02-28 01:27:46 +01:00
parent
de0fde4ec2
commit
9ba072bb74
@ -73,7 +73,9 @@ def request(query, params):
|
||||
# link again and again ..
|
||||
|
||||
params['headers']['Content-Type'] = 'application/x-www-form-urlencoded'
|
||||
params['headers']['Origin'] = 'https://lite.duckduckgo.com'
|
||||
params['headers']['Referer'] = 'https://lite.duckduckgo.com/'
|
||||
params['headers']['User-Agent'] = 'Mozilla/5.0'
|
||||
|
||||
# initial page does not have an offset
|
||||
if params['pageno'] == 2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user