[mod] disable searchcode SSL verification (unable to get local issuer)

This commit is contained in:
Adam Tauber 2015-08-25 22:56:45 +02:00
parent 3f31e1ce6b
commit b9c8039d74
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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