From 68e9886a86b673e86cb5c4efcb8ff3347da141cf Mon Sep 17 00:00:00 2001 From: Rolux Date: Fri, 25 Jul 2008 16:58:00 +0200 Subject: [PATCH] deprecating getMoviePoster() --- oxweb/allmovie.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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))