kickass fix
parent
f9226315b7
commit
263eb29160
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.2.4" provider-name="vadim.skorba, DiMartino">
|
||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.2.5" provider-name="vadim.skorba, DiMartino">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
<import addon="script.module.libtorrent"/>
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
[B]Version 2.2.3[/B]
|
||||
[B]Version 2.2.5[/B]
|
||||
[+] Списки Медиа: Исправлен KickAssSo
|
||||
[+] Поиск: Исправлен KickAssSo
|
||||
|
||||
[B]Version 2.2.4[/B]
|
||||
[+] Проигрыватель: Поддержка музыки (проигрывание следующего файла).
|
||||
[+] Торрент-клиент: Исправлен прогресс Deluge.
|
||||
|
||||
[B]Version 2.2.3[/B]
|
||||
[+] Проигрыватель: Добавлена возможность запускать через .strm файлы (plugin://plugin.video.torrenter/?action=playSTRM&url=URL_ENCODED_MAGNET_PATH_HTTP)
|
||||
|
||||
[B]Version 2.2.2[/B]
|
||||
|
|
|
@ -33,7 +33,7 @@ class KickAssSo(Content.Content):
|
|||
' ':[{'name':' ', 'url_after':'?field=seeders&sorder=desc'}]}),
|
||||
}
|
||||
|
||||
baseurl = "http://kickass.to"
|
||||
baseurl = "http://kat.cr"
|
||||
headers = [('User-Agent',
|
||||
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124' + \
|
||||
' YaBrowser/14.10.2062.12061 Safari/537.36'),
|
||||
|
@ -82,7 +82,7 @@ class KickAssSo(Content.Content):
|
|||
num = 51
|
||||
good_forums=['TV','Anime','Movies']
|
||||
result = re.compile(
|
||||
r'''<a 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+ .+?)</td>.+?<td class="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>''',
|
||||
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 link,infolink,title,forum,size,date,seeds,leechers in result:
|
||||
#main
|
||||
|
|
|
@ -63,7 +63,8 @@ class KickAssSo(SearcherABC.SearcherABC):
|
|||
|
||||
def search(self, keyword):
|
||||
filesList = []
|
||||
url = "http://kickass.to/usearch/%s/?field=seeders&sorder=desc" % urllib.quote_plus(keyword)
|
||||
baseurl="http://kat.cr"
|
||||
url = baseurl+"/usearch/%s/?field=seeders&sorder=desc" % urllib.quote_plus(keyword)
|
||||
headers = [('User-Agent',
|
||||
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 YaBrowser/14.10.2062.12061 Safari/537.36'),
|
||||
('Referer', 'http://kickass.so/'), ('Accept-encoding', 'gzip'), ]
|
||||
|
@ -73,7 +74,7 @@ class KickAssSo(SearcherABC.SearcherABC):
|
|||
#print response
|
||||
good_forums=['TV','Anime','Movies']
|
||||
result = re.compile(
|
||||
r'''<a 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="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>''',
|
||||
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="green center">(\d+?)</td>.+?<td class="red lasttd center">(\d+?)</td>''',
|
||||
re.DOTALL).findall(response)
|
||||
for link,title,forum,size,seeds,leechers in result:
|
||||
if forum in good_forums:
|
||||
|
|
Loading…
Reference in New Issue