summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-11-16 22:47:13 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-11-16 22:47:13 +0100
commit5de44c7724306dc4aabdd0161b7779a9462ef110 (patch)
tree0d52199522fa227cf66f45ae12963fe892ece5d5 /imdb-lookup/imdbinfo.py
parent57b76325c23c1b9474d37e526a108441bed06488 (diff)
downloadscripts-5de44c7724306dc4aabdd0161b7779a9462ef110.tar.gz
scripts-5de44c7724306dc4aabdd0161b7779a9462ef110.zip
add vote_average
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-ximdb-lookup/imdbinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index c4f80b5..37287bb 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -82,7 +82,7 @@ def do_aka(args, imdb_ids):
def do_data(args, imdb_ids):
with TMDBCache() as tmdbcache:
for imdb_id in imdb_ids:
- selected_properties = ["imdb_id", "revenue", "vote_count", "runtime", "budget", "vote_avarage", "release_date", "popularity", ]
+ selected_properties = ["imdb_id", "revenue", "vote_average", "vote_count", "runtime", "budget", "vote_avarage", "release_date", "popularity", ]
kv = map(lambda kv: u"{}={}".format(*kv),
filter(lambda (k,v): k in selected_properties,
tmdbcache.infos(imdb_id).items()))