From 5de44c7724306dc4aabdd0161b7779a9462ef110 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 16 Nov 2014 22:47:13 +0100 Subject: add vote_average --- imdb-lookup/imdbinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imdb-lookup') 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())) -- cgit v1.2.1