forked from zaclys/searxng
parent
cf5c7d050a
commit
19cd2bf3b5
|
@ -34,11 +34,6 @@ def request(query, params):
|
||||||
params['url'] = search_url.format(query=urlencode({'q': query}),
|
params['url'] = search_url.format(query=urlencode({'q': query}),
|
||||||
pageno=params['pageno'] - 1)
|
pageno=params['pageno'] - 1)
|
||||||
|
|
||||||
# Disable SSL verification
|
|
||||||
# error: (60) SSL certificate problem: unable to get local issuer
|
|
||||||
# certificate
|
|
||||||
params['verify'] = False
|
|
||||||
|
|
||||||
return params
|
return params
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,11 +27,6 @@ def request(query, params):
|
||||||
params['url'] = search_url.format(query=urlencode({'q': query}),
|
params['url'] = search_url.format(query=urlencode({'q': query}),
|
||||||
pageno=params['pageno'] - 1)
|
pageno=params['pageno'] - 1)
|
||||||
|
|
||||||
# Disable SSL verification
|
|
||||||
# error: (60) SSL certificate problem: unable to get local issuer
|
|
||||||
# certificate
|
|
||||||
params['verify'] = False
|
|
||||||
|
|
||||||
return params
|
return params
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue