X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fimdb.rb;h=33e13b637295e8d5535337ed33e8b21897bdf3b5;hb=4fa049e0386d8044f0063e90b7e7efbca9c712de;hp=543a9582455f534d465114b8d7bca562d821e108;hpb=a0a91c1259343ab4e3a39f39c1b8d449d1b77648;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 543a9582..33e13b63 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -11,13 +11,12 @@ # # License:: MIT license -require 'uri/common' - class Imdb IMDB = "http://us.imdb.com" TITLE_OR_NAME_MATCH = /]*)>([^<]*)<\/a>/ TITLE_MATCH = /]*)>([^<]*)<\/a>/ NAME_MATCH = /]*)>([^<]*)<\/a>/ + CREDIT_NAME_MATCH = /#{NAME_MATCH}<\/td>