mirror of
https://github.com/searxng/searxng.git
synced 2024-12-27 11:40:29 +00:00
[mod] disable searchcode SSL verification (unable to get local issuer)
This commit is contained in:
parent
3f31e1ce6b
commit
b9c8039d74
2 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,11 @@ def request(query, params):
|
|||
params['url'] = search_url.format(query=urlencode({'q': query}),
|
||||
pageno=params['pageno']-1)
|
||||
|
||||
# Disable SSL verification
|
||||
# error: (60) SSL certificate problem: unable to get local issuer
|
||||
# certificate
|
||||
params['verify'] = False
|
||||
|
||||
return params
|
||||
|
||||
|
||||
|
|
|
@ -27,6 +27,11 @@ def request(query, params):
|
|||
params['url'] = search_url.format(query=urlencode({'q': query}),
|
||||
pageno=params['pageno']-1)
|
||||
|
||||
# Disable SSL verification
|
||||
# error: (60) SSL certificate problem: unable to get local issuer
|
||||
# certificate
|
||||
params['verify'] = False
|
||||
|
||||
return params
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue