no pro link
This commit is contained in:
parent
9cdebfa01d
commit
c54bcc0738
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ def getMovieInfo(imdbId):
|
|||
html_title = findRe(data, '<div id="tn15title">(.*?)</div>')
|
||||
if not html_title:
|
||||
html_title = findRe(data, '<title>(.*?)</title>')
|
||||
else:
|
||||
html_title = html_title.split('<span class="pro-link">')[0]
|
||||
if html_title:
|
||||
html_title = html_title.replace('<br />', ' ').replace(' ', ' ')
|
||||
title = decodeHtml(html_title)
|
||||
|
|
Loading…
Reference in a new issue