summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-21 22:58:09 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-21 22:58:09 +0100
commit02afa4a99fcb9e899e786357254708402a7b73ef (patch)
treebfba3883954b89e60a28c1ec7243feb8a0d3aa44 /imdb-lookup/imdbinfo.py
parent1e2e2cfbf805bd126816c11dd7e10099aa15a582 (diff)
downloadscripts-02afa4a99fcb9e899e786357254708402a7b73ef.tar.gz
scripts-02afa4a99fcb9e899e786357254708402a7b73ef.zip
smaller poster
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-ximdb-lookup/imdbinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index 5e92994..6318bfb 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -130,9 +130,9 @@ class TMDBCache(object):
r.close()
return r.content
- return self._cache(movie_id, "tmdb_poster.jpg", download)
+ return self._cache(movie_id, "tmdb_poster_{}.jpg".format(f), download)
- def poster_low(self, movie_id, format="w154"):
+ def poster_low(self, movie_id, format="w92"):
data = self.poster(movie_id, format)
if not data:
return None