diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-11-16 22:47:13 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-11-16 22:47:13 +0100 |
commit | 5de44c7724306dc4aabdd0161b7779a9462ef110 (patch) | |
tree | 0d52199522fa227cf66f45ae12963fe892ece5d5 /imdb-lookup | |
parent | 57b76325c23c1b9474d37e526a108441bed06488 (diff) | |
download | scripts-5de44c7724306dc4aabdd0161b7779a9462ef110.tar.gz scripts-5de44c7724306dc4aabdd0161b7779a9462ef110.zip |
add vote_average
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 2 |
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())) |