mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
Merge pull request #252 from dalf/master
[fix] btdigg: disable ssl check
This commit is contained in:
commit
c71ef5d230
@ -29,6 +29,10 @@ def request(query, params):
|
|||||||
params['url'] = search_url.format(search_term=quote(query),
|
params['url'] = search_url.format(search_term=quote(query),
|
||||||
pageno=params['pageno']-1)
|
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
|
return params
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user