@@ -20,7 +20,7 @@ categories = ['videos', 'music', 'files']
20paging = True
20paging = True
22# search-url
22# search-url
23−url = 'https://kickass.so/'
23+url = 'https://kickass.to/'
24search_url = url + 'search/{search_term}/{pageno}/'
24search_url = url + 'search/{search_term}/{pageno}/'
26# specific xpath variables
26# specific xpath variables
@@ -45,6 +45,9 @@ def request(query, params):
45def response(resp):
45def response(resp):
46 results = []
46 results = []
48 dom = html.fromstring(resp.text)
51 dom = html.fromstring(resp.text)
50 search_res = dom.xpath('//table[@class="data"]//tr')
53 search_res = dom.xpath('//table[@class="data"]//tr')