kickass fix

pull/1/head
DiMartinoXBMC 2015-09-26 19:41:19 +03:00
parent 97ccebfc3b
commit 369fe7ea18
1 changed files with 0 additions and 1 deletions

View File

@ -93,7 +93,6 @@ class KickAssSo(Content.Content):
regex_tr = r'''title="Download torrent file" href="(.+?)" class=".+?"><i.+?<a.+?<a.+?<a href="(.+?html)" class=".+?">(.+?)</a>.+? in <span.+?"><strong>.+?">(.+?)</a>.+?<td class="nobr center">(.+?)</td>.+?<td class="center".+?>(\d+&nbsp;.+?)</td>.+?<td class="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>''' regex_tr = r'''title="Download torrent file" href="(.+?)" class=".+?"><i.+?<a.+?<a.+?<a href="(.+?html)" class=".+?">(.+?)</a>.+? in <span.+?"><strong>.+?">(.+?)</a>.+?<td class="nobr center">(.+?)</td>.+?<td class="center".+?>(\d+&nbsp;.+?)</td>.+?<td class="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>'''
for tr in re.compile(regex, re.DOTALL).findall(response): for tr in re.compile(regex, re.DOTALL).findall(response):
result=re.compile(regex_tr, re.DOTALL).findall(tr) result=re.compile(regex_tr, re.DOTALL).findall(tr)
#print str(result)
if result: if result:
(link, infolink, title, forum, size, date, seeds, leechers)=result[0] (link, infolink, title, forum, size, date, seeds, leechers)=result[0]
# main # main