]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/imdb.rb
Small imdb plugin fix. Just changed the imdb url.
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / imdb.rb
index 33e13b637295e8d5535337ed33e8b21897bdf3b5..0c2a74ce03d007d074f0e5ed8ae335d5069e701d 100644 (file)
@@ -12,7 +12,7 @@
 # License:: MIT license
 
 class Imdb
-  IMDB = "http://us.imdb.com"
+  IMDB = "http://www.imdb.com"
   TITLE_OR_NAME_MATCH = /<a href="(\/(?:title|name)\/(?:tt|nm)[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/
   TITLE_MATCH = /<a href="(\/title\/tt[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/
   NAME_MATCH = /<a href="(\/name\/nm[0-9]+\/?)[^"]*"(?:[^>]*)>([^<]*)<\/a>/