summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
Diffstat (limited to 'imdb-lookup')
-rw-r--r--imdb-lookup/css/style.css4
-rwxr-xr-ximdb-lookup/imdbinfo.py4
2 files changed, 4 insertions, 4 deletions
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