fix kickass ml
parent
219431b312
commit
05ad690664
|
@ -1,5 +1,9 @@
|
||||||
English changelog at http://bit.ly/1MfSVUP
|
English changelog at http://bit.ly/1MfSVUP
|
||||||
|
|
||||||
|
[B]Version 2.3.8[/B]
|
||||||
|
[+] Добавлен АнтиЗапрет
|
||||||
|
[+] Списки Медиа: Исправлен KickAssSo
|
||||||
|
|
||||||
[B]Version 2.3.6[/B]
|
[B]Version 2.3.6[/B]
|
||||||
[+] Оптимизация импорта, ускорена работа меню
|
[+] Оптимизация импорта, ускорена работа меню
|
||||||
[+] Новый Проигрыватель [url=https://github.com/izderadicka/btclient]BTclient[/url] в тестовом режиме, требует python-libtorrent >=1.0.4.
|
[+] Новый Проигрыватель [url=https://github.com/izderadicka/btclient]BTclient[/url] в тестовом режиме, требует python-libtorrent >=1.0.4.
|
||||||
|
|
|
@ -89,10 +89,13 @@ class KickAssSo(Content.Content):
|
||||||
# print str(result)
|
# print str(result)
|
||||||
num = 51
|
num = 51
|
||||||
good_forums = ['TV', 'Anime', 'Movies']
|
good_forums = ['TV', 'Anime', 'Movies']
|
||||||
result = re.compile(
|
regex = '''<tr class=".+?" id=.+?</tr>'''
|
||||||
r'''title="Download torrent file" href="(.+?\.torrent).+?" class=".+?"><i.+?<a.+?<a.+?<a href="(.+?html)" class=".+?">(.+?)</a>.+? in <span.+?"><strong>.+?">(.+?)</a>.+?<td class="nobr center">(.+?)</td>.+?<td class="center">(\d+ .+?)</td>.+?<td class="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>''',
|
regex_tr = r'''title="Download torrent file" href="(.+?\.torrent).+?" class=".+?"><i.+?<a.+?<a.+?<a href="(.+?html)" class=".+?">(.+?)</a>.+? in <span.+?"><strong>.+?">(.+?)</a>.+?<td class="nobr center">(.+?)</td>.+?<td class="center".+?>(\d+ .+?)</td>.+?<td class="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>'''
|
||||||
re.DOTALL).findall(response)
|
for tr in re.compile(regex, re.DOTALL).findall(response):
|
||||||
for link, infolink, title, forum, size, date, seeds, leechers in result:
|
result=re.compile(regex_tr, re.DOTALL).findall(tr)
|
||||||
|
#print str(result)
|
||||||
|
if result:
|
||||||
|
(link, infolink, title, forum, size, date, seeds, leechers)=result[0]
|
||||||
# main
|
# main
|
||||||
if forum in good_forums:
|
if forum in good_forums:
|
||||||
info = {}
|
info = {}
|
||||||
|
|
Loading…
Reference in New Issue