summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias -apoc- Hecker <apoc@sixserv.org>2010-03-18 14:06:48 +0100
committerMatthias -apoc- Hecker <apoc@sixserv.org>2010-03-18 14:06:48 +0100
commit904106997bab0ea9894516ae324af6f3538ccf24 (patch)
tree0551c704979b63d208ed510740b9ea9393dd4763
parent2f623ce5c2748ae0a6d7628fc2cd06625a644c21 (diff)
Small imdb plugin fix. Just changed the imdb url.
-rw-r--r--data/rbot/plugins/imdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb
index 33e13b63..0c2a74ce 100644
--- a/data/rbot/plugins/imdb.rb
+++ b/data/rbot/plugins/imdb.rb
@@ -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>/