diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-24 23:11:50 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-24 23:11:50 +0200 |
commit | 43d4d3929a07b1ac432d4bf173370938d1e704db (patch) | |
tree | 847308ba691330fc3623a4d78ac1a56f93e86f49 /data/rbot/plugins/imdb.rb | |
parent | 41d45296886b4814744fc2d1422838d643399a61 (diff) |
imdb: fix grab_info()
Diffstat (limited to 'data/rbot/plugins/imdb.rb')
-rw-r--r-- | data/rbot/plugins/imdb.rb | 2 |
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) |