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