X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fimdb.rb;h=f3e6504dc617e4d507f2bee78303509a08a1a906;hb=16336b4a240a4265d1f2df1e30d7b68d3a924287;hp=df746b851721e4bbf781fe25baf6658d230bb383;hpb=a7d50aeb63957485de7d423a4b2cc73f5cbe435a;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index df746b85..f3e6504d 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>