From e9d29f10c18d1eeef2fd784eccf95bc82bb1b8ed Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 16 Nov 2013 12:16:37 +0100 Subject: [PATCH] Cleanup KAT import --- couchpotato/core/providers/torrent/kickasstorrents/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/couchpotato/core/providers/torrent/kickasstorrents/main.py b/couchpotato/core/providers/torrent/kickasstorrents/main.py index 0f27f6a..e1b4a33 100644 --- a/couchpotato/core/providers/torrent/kickasstorrents/main.py +++ b/couchpotato/core/providers/torrent/kickasstorrents/main.py @@ -1,5 +1,4 @@ from bs4 import BeautifulSoup -from couchpotato.core.helpers.encoding import toUnicode, tryUrlencode from couchpotato.core.helpers.variable import tryInt, cleanHost from couchpotato.core.logger import CPLog from couchpotato.core.providers.torrent.base import TorrentMagnetProvider @@ -32,7 +31,6 @@ class KickAssTorrents(TorrentMagnetProvider): proxy_list = [ 'https://kickass.to', - 'http://kickasstorrents.come.in', 'http://kickass.pw', 'http://www.kickassunblock.info', 'http://www.kickassproxy.info', @@ -45,7 +43,7 @@ class KickAssTorrents(TorrentMagnetProvider): def _search(self, movie, quality, results): data = self.getHTMLData(self.urls['search'] % (self.getDomain(), 'm', movie['library']['identifier'].replace('tt', ''))) - + if data: cat_ids = self.getCatId(quality['identifier'])