unexist.dev

Changeset 329:34a80029a7c0

Fixed imdb score reply
author unexist
date Wed, 15 Aug 2012 13:08:39 +0200
parents a98724490ac6
children ca709a928306
files bot/cinch.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bot/cinch.rb	Fri Aug 10 15:19:24 2012 +0200
+++ b/bot/cinch.rb	Wed Aug 15 13:08:39 2012 +0200
@@ -880,7 +880,7 @@
       rating = page.search("//strong/span[@itemprop='ratingValue']").text
       votes  = page.search("//a/span[@itemprop='ratingCount']").text
 
-      m.reply "Title: %s (at http://imdb.com/title/%s, %s/10 from %s users)" % [
+      m.reply "Title: %s (at http://imdb.com/title/%s, %s/11 from %s users)" % [
         match["title"], match["id"], rating, votes
       ]
     rescue