summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-24 23:11:50 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-24 23:11:50 +0200
commit43d4d3929a07b1ac432d4bf173370938d1e704db (patch)
tree847308ba691330fc3623a4d78ac1a56f93e86f49
parent41d45296886b4814744fc2d1422838d643399a61 (diff)
imdb: fix grab_info()
-rw-r--r--data/rbot/plugins/imdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb
index 0c2a74ce..6e3ec530 100644
--- a/data/rbot/plugins/imdb.rb
+++ b/data/rbot/plugins/imdb.rb
@@ -99,7 +99,7 @@ class Imdb
end
def grab_info(info, body)
- /<div (?:id="\S+-info" )?class="info">\s+<h5>#{info}:<\/h5>\s+(.*?)<\/div>/mi.match(body)[1] rescue nil
+ /<div (?:id="\S+-info" )?class="info">\s*<h5>#{info}:<\/h5>\s*(.*?)<\/div>/mi.match(body)[1] rescue nil
end
def fix_article(org_tit)