X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fimdb.rb;h=e1209124252026450909a42df81c7e9499913b0c;hb=4d68eabaa8dabaecb5ea4af210acbb4d0b10249f;hp=240ded86303cfb35420bc2b1d37dee588ee09d9d;hpb=ab18d5d5d98b360c5269dbcf4c55a1876fd6f3ec;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 240ded86..e1209124 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -11,17 +11,18 @@ # # 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>