mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
commit
8d36a8b837
3 changed files with 5 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue