Updating TPB domain (.ac)

A possible alternate solution could be to use the IP address instead (http://194.71.107.27/).
This commit is contained in:
TheLegs 2013-12-11 11:13:52 +01:00
parent dca825294e
commit 7af918d6fd

View file

@ -32,7 +32,7 @@ class Mininova(Search):
return torrents
class TPB(Search):
def __init__(self):
self.search_uri = 'http://thepiratebay.se/search/%s/'
self.search_uri = 'http://thepiratebay.ac/search/%s/'
def search(self, terms):
torrents = []
url = self.search_uri % '+'.join(terms.split(' '))