From 9f182d5676b89087b03939b528e9c5607dabd283 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 17 Nov 2014 23:38:26 +0100 Subject: this comment was inaccurate --- imdb-lookup/imdbinfo.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'imdb-lookup/imdbinfo.py') diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index 748e872..f5d56b2 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -100,9 +100,7 @@ def do_prune(args, imdb_ids): tmdbcache.prune(imdb_id) def do_rating(args, imdb_ids): - """Calculates a rating based on vote_average and vote_count. - See http://blog.moertel.com/posts/2006-01-17-mining-gold-from-the-internet-movie-database-part-1.html - for details""" + """Calculates a rating based on vote_average and vote_count""" with TMDBCache() as tmdbcache: infos = map(lambda imdb_id: tmdbcache.infos(imdb_id), imdb_ids) infos = filter(lambda i: "vote_average" in i and "vote_count" in i, infos) -- cgit v1.2.1