diff --git a/oxweb/allmovie.py b/oxweb/allmovie.py index 3113435..d2d3462 100644 --- a/oxweb/allmovie.py +++ b/oxweb/allmovie.py @@ -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, '%s(.*?)' % title))