commit: c71ef5d230bbc5be9b9b3f970fc077641a9943ea
parent: 9981725b553f0c1280bceeddf085f4a65433cdcc
Author: Adam Tauber <asciimoo@gmail.com>
Date: Tue, 3 Mar 2015 09:59:33 +0100
Merge pull request #252 from dalf/master
[fix] btdigg: disable ssl check
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py
@@ -29,6 +29,10 @@ def request(query, params):
params['url'] = search_url.format(search_term=quote(query),
pageno=params['pageno']-1)
+ # FIX: SSLError: hostname 'btdigg.org'
+ # doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'
+ params['verify'] = False
+
return params