From 02afa4a99fcb9e899e786357254708402a7b73ef Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 21 Dec 2014 22:58:09 +0100 Subject: smaller poster --- imdb-lookup/css/style.css | 4 ++-- imdb-lookup/imdbinfo.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'imdb-lookup') diff --git a/imdb-lookup/css/style.css b/imdb-lookup/css/style.css index 5f04ced..3d4b99b 100644 --- a/imdb-lookup/css/style.css +++ b/imdb-lookup/css/style.css @@ -27,9 +27,9 @@ } .poster { margin: 10px; - width: 154px; + width: 92px; float: left; - min-height: 200px; + min-height: 138px; box-shadow: 0px 0px 5px 0px gray; } .info { 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 -- cgit v1.2.1