[fix] piratebay - cloudfare ssl errors

This commit is contained in:
Adam Tauber 2015-04-07 12:06:07 +02:00
parent 1184f45ca5
commit e1adf8f7b8
1 changed files with 4 additions and 0 deletions

View File

@ -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