summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-03-03 09:59:33 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-03-03 09:59:33 +0100
commitc71ef5d230bbc5be9b9b3f970fc077641a9943ea (patch)
tree12afc210279b6d60e2e1423ba0f8eb2b36216e98 /searx
parent9981725b553f0c1280bceeddf085f4a65433cdcc (diff)
parent7cc5146c146d4c20c23b1fc379949cb0ef8dd77b (diff)
downloadsearxng-c71ef5d230bbc5be9b9b3f970fc077641a9943ea.tar.gz
searxng-c71ef5d230bbc5be9b9b3f970fc077641a9943ea.zip
Merge pull request #252 from dalf/master
[fix] btdigg: disable ssl check
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/btdigg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py
index 944250628..d0f05ec2d 100644
--- 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