You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/adammo/python/TPBSearch.py", line 12, in <module>
for torrent in search:
File "/usr/local/lib/python2.7/dist-packages/tpb/tpb.py", line 149, in items
for item in super(Paginated, self).items():
File "/usr/local/lib/python2.7/dist-packages/tpb/tpb.py", line 59, in items
request = urlopen(str(self.url))
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error>
Here's my code:
from tpb import TPB
from tpb import CATEGORIES, ORDERS
t = TPB('https://thepiratebay.se')
search = t.search('some movie name', category=CATEGORIES.VIDEO.MOVIES)
for torrent in search:
print(torrent.info)
The text was updated successfully, but these errors were encountered:
Error:
Here's my code:
The text was updated successfully, but these errors were encountered: