pull/1/head
DiMartinoXBMC 2015-06-27 11:43:59 +03:00
parent 1fd59990e7
commit a547882560
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ class KickAssSo(Content.Content):
for i in ['plot', 'IMDb link', 'RottenTomatoes']: for i in ['plot', 'IMDb link', 'RottenTomatoes']:
if info.get(i) and info.get(i) not in ['']: if info.get(i) and info.get(i) not in ['']:
if i == 'plot': if i == 'plot':
movieInfo['desc'] += '\r\n[COLOR blue]Plot:[/COLOR]\r\n' + info.get(i) movieInfo['desc'] += '\r\n[COLOR blue]Plot:[/COLOR]\r\n' + self.unescape(info.get(i))
if i == 'RottenTomatoes': if i == 'RottenTomatoes':
movieInfo['rating'] = str(info.get(i).split('%')[0]) movieInfo['rating'] = str(info.get(i).split('%')[0])
if i == 'IMDb link': if i == 'IMDb link':

View File

@ -110,7 +110,7 @@ class RuTrackerOrg(SearcherABC.SearcherABC):
'<a class="gen f" href="tracker\.php\?f=(\d+)">.+? class=".+?" href="viewtopic\.php\?t=(\d+)">(.+?)</a>.+?<a .+?href="http://dl.+?">(.+?)</a>.+?class="seedmed".+?(\d+)</.+?class=".+?eechmed".+?(\d+)', '<a class="gen f" href="tracker\.php\?f=(\d+)">.+? class=".+?" href="viewtopic\.php\?t=(\d+)">(.+?)</a>.+?<a .+?href="http://dl.+?">(.+?)</a>.+?class="seedmed".+?(\d+)</.+?class=".+?eechmed".+?(\d+)',
re.DOTALL).findall(response): re.DOTALL).findall(response):
if int(forum) in forums: if int(forum) in forums:
size = size.replace('&nbsp;', ' ') size = size.replace(' &#8595;','').replace('&nbsp;', ' ')
torrentTitle = title torrentTitle = title
image = sys.modules["__main__"].__root__ + self.searchIcon image = sys.modules["__main__"].__root__ + self.searchIcon
link = 'http://dl.rutracker.org/forum/dl.php?t=' + link link = 'http://dl.rutracker.org/forum/dl.php?t=' + link