html fix
parent
1fd59990e7
commit
a547882560
|
@ -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':
|
||||||
|
|
|
@ -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(' ', ' ')
|
size = size.replace(' ↓','').replace(' ', ' ')
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue