deprecating getMoviePoster()
This commit is contained in:
parent
218ff56ed7
commit
68e9886a86
1 changed files with 5 additions and 1 deletions
|
@ -43,12 +43,16 @@ def getMovieData(allmovieId):
|
||||||
)
|
)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def getMoviePoster(allmovieId):
|
def getPosterUrl(allmovieId):
|
||||||
data = getMovieData(allmovieId)
|
data = getMovieData(allmovieId)
|
||||||
if data:
|
if data:
|
||||||
return data['poster']
|
return data['poster']
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
def getMoviePoster(allmovieId):
|
||||||
|
# deprecated, use getPosterUrl()
|
||||||
|
return getPosterUrl(allmovieId)
|
||||||
|
|
||||||
def parseEntry(html, title):
|
def parseEntry(html, title):
|
||||||
return stripTags(findRe(html, '<span>%s</span>(.*?)</table>' % title))
|
return stripTags(findRe(html, '<span>%s</span>(.*?)</table>' % title))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue