From 36bc1c013a913f94a9726431805be3f75eba2e86 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Sat, 26 Sep 2015 19:38:48 +0300 Subject: [PATCH] kickass fix --- resources/contenters/KickAssSo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/contenters/KickAssSo.py b/resources/contenters/KickAssSo.py index 013236d..0bfa672 100644 --- a/resources/contenters/KickAssSo.py +++ b/resources/contenters/KickAssSo.py @@ -54,7 +54,7 @@ class KickAssSo(Content.Content): return True def isSearcher(self): - return False + return True def isScrappable(self): return False @@ -90,7 +90,7 @@ class KickAssSo(Content.Content): num = 51 good_forums = ['TV', 'Anime', 'Movies'] regex = '''''' - regex_tr = r'''title="Download torrent file" href="(.+?\.torrent).+?" class=".+?">(.+?).+? in .+?">(.+?).+?(.+?).+?(\d+ .+?).+?(\d+?).+?(\d+?)''' + regex_tr = r'''title="Download torrent file" href="(.+?)" class=".+?">(.+?).+? in .+?">(.+?).+?(.+?).+?(\d+ .+?).+?(\d+?).+?(\d+?)''' for tr in re.compile(regex, re.DOTALL).findall(response): result=re.compile(regex_tr, re.DOTALL).findall(tr) #print str(result)