Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] piratebay - cloudfare ssl errors

Adam Taubere1adf8f7b849
diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py
index 55446b410..adee6c1fd 100644
--- a/searx/engines/piratebay.py
+++ b/searx/engines/piratebay.py
@@ -42,6 +42,10 @@ def request(query, params):
search_type=search_type,
pageno=params['pageno'] - 1)
+ # FIX: SSLError: hostname 'kthepiratebay.se'
+ # doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'
+ params['verify'] = False
+
return params