From 43d4d3929a07b1ac432d4bf173370938d1e704db Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 24 Jul 2010 23:11:50 +0200 Subject: imdb: fix grab_info() --- data/rbot/plugins/imdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) - /
\s+
#{info}:<\/h5>\s+(.*?)<\/div>/mi.match(body)[1] rescue nil + /
\s*
#{info}:<\/h5>\s*(.*?)<\/div>/mi.match(body)[1] rescue nil end def fix_article(org_tit) -- cgit v1.2.3