commit: 19cd2bf3b52d4851053030c570322df1c637f9b8
parent: cf5c7d050a757123d362891fe13e15781d3fc029
Author: Adam Tauber <asciimoo@gmail.com>
Date: Fri, 16 Dec 2016 15:21:27 +0100
[fix] re-enable ssl verification for searchcode
closes #784
Diffstat:
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py
@@ -34,11 +34,6 @@ 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
diff --git a/searx/engines/searchcode_doc.py b/searx/engines/searchcode_doc.py
@@ -27,11 +27,6 @@ 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