logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 7cc5146c146d4c20c23b1fc379949cb0ef8dd77b
parent 57996b12fcbe193e89537c63abd1a75c3c65a25a
Author: dalf <alex@al-f.net>
Date:   Fri, 20 Feb 2015 22:56:04 +0100

[fix] btdigg: disable ssl check,
avoid this error : SSLError: hostname 'btdigg.org' doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'

Diffstat:

Msearx/engines/btdigg.py4++++
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