diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-14 22:51:07 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-14 22:51:07 +0000 |
commit | 4ca06a4bc4359b85484896ab36fdb55d49795983 (patch) | |
tree | 9a00bd9c354619d7a49c160c42ff8b6d4c7e5936 | |
parent | 84976c37cb80caa7b505dec788acfb52eb513c86 (diff) |
lastfm plugin: update to support the new HTML in author/band descriptions
-rw-r--r-- | data/rbot/plugins/lastfm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 8f25dd4f..09ea3803 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -146,7 +146,7 @@ class LastFmPlugin < Plugin end wiki = "This artist doesn't have a description yet. You can help by writing it: #{url}/+wiki?action=edit" - if page.match(/<div class="wikiAbstract">(.*?)<\/div>/m) + if page.match(/<div (?:class|id)="wikiAbstract">(.*?)<\/div>/m) wiki = $1.ircify_html end |