diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-08-25 22:56:45 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-08-25 22:56:45 +0200 |
commit | b9c8039d743376ab134adb3da146519c5353c36c (patch) | |
tree | 478aa3174321fd8e16d7fef3721b41e929a53402 /searx/engines/searchcode_code.py | |
parent | 3f31e1ce6bcaea595a6e773c4ff729cf7a9e31e1 (diff) | |
download | searxng-b9c8039d743376ab134adb3da146519c5353c36c.tar.gz searxng-b9c8039d743376ab134adb3da146519c5353c36c.zip |
[mod] disable searchcode SSL verification (unable to get local issuer)
Diffstat (limited to 'searx/engines/searchcode_code.py')
-rw-r--r-- | searx/engines/searchcode_code.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py index 21d9c4ac2..bd5eb71d2 100644 --- a/searx/engines/searchcode_code.py +++ b/searx/engines/searchcode_code.py @@ -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 |