From 19cd2bf3b52d4851053030c570322df1c637f9b8 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 16 Dec 2016 15:21:27 +0100 Subject: [PATCH] [fix] re-enable ssl verification for searchcode closes #784 --- searx/engines/searchcode_code.py | 5 ----- searx/engines/searchcode_doc.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/searx/engines/searchcode_code.py b/searx/engines/searchcode_code.py index de8cd43be..be7a6d385 100644 --- 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 index 6c1acdcdd..99e10be62 100644 --- 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