diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-06-30 12:46:00 -0400 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-06-30 12:46:00 -0400 |
| commit | 8d36a8b837830d80667c7bd38e2b3abf1f3cb201 (patch) | |
| tree | 2af8d4e88ea11fa0e563dc13fa1c9f699d6990ef /searx/engines | |
| parent | 4770d218b820c5df5dce050202ec7461dd681828 (diff) | |
| parent | 36a08f2a6a9110ec842741f1cbd5e8d67b3dd524 (diff) | |
Merge pull request #333 from dalf/piratebay
[fix] Piratebay engine
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/piratebay.py | 6 |
1 files changed, 1 insertions, 5 deletions
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 |