Fix kickasstorrents url

The new url is kat.cr
This commit is contained in:
Angelo Compagnucci 2015-11-16 21:59:52 +01:00
parent 10f319deb0
commit 54cddffb82

View file

@ -65,7 +65,7 @@ class TPB(Search):
return torrents return torrents
class Kickass(Search): class Kickass(Search):
def __init__(self): def __init__(self):
self.search_uri = 'http://kickass.to/usearch/%s/?field=seeders&sorder=desc&rss=1' self.search_uri = 'http://kat.cr/usearch/%s/?field=seeders&sorder=desc&rss=1'
def search(self, terms): def search(self, terms):
torrents = [] torrents = []
url = self.search_uri % quote_plus(terms) url = self.search_uri % quote_plus(terms)