deprecating getMoviePoster()

This commit is contained in:
Rolux 2008-07-25 16:58:00 +02:00
parent 218ff56ed7
commit 68e9886a86

View file

@ -43,12 +43,16 @@ def getMovieData(allmovieId):
)
return data
def getMoviePoster(allmovieId):
def getPosterUrl(allmovieId):
data = getMovieData(allmovieId)
if data:
return data['poster']
return ''
def getMoviePoster(allmovieId):
# deprecated, use getPosterUrl()
return getPosterUrl(allmovieId)
def parseEntry(html, title):
return stripTags(findRe(html, '<span>%s</span>(.*?)</table>' % title))