From 36a08f2a6a9110ec842741f1cbd5e8d67b3dd524 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 27 May 2015 12:28:05 +0200 Subject: [fix] piratebay engine (and disable it by default) --- searx/engines/piratebay.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'searx/engines') diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py index adee6c1fd..ab0dfd44c 100644 --- a/searx/engines/piratebay.py +++ b/searx/engines/piratebay.py @@ -20,7 +20,7 @@ categories = ['videos', 'music', 'files'] paging = True # search-url -url = 'https://thepiratebay.se/' +url = 'https://thepiratebay.am/' search_url = url + 'search/{search_term}/{pageno}/99/{search_type}' # piratebay specific type-definitions @@ -42,10 +42,6 @@ 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 -- cgit v1.2.3-54-g00ecf