summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-04 13:53:47 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-04 13:53:47 +0000
commitf955b7187f452323ded7ccd41cf898117e48e391 (patch)
tree5e860c1b9ac0646613046d0ceb40ac12713df7d3
parentcec1d358f795a1ff5bef18d23eab3899b872fbd2 (diff)
imdb plugin: search on the 'aka' sites, allowing the correct movie to be found even when searching for a translated title
-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 2388ed61..fc4dc1e6 100644
--- a/data/rbot/plugins/imdb.rb
+++ b/data/rbot/plugins/imdb.rb
@@ -20,7 +20,7 @@ class Imdb
end
def search(rawstr)
- str = URI.escape(rawstr)
+ str = URI.escape(rawstr) << ";site=aka"
resp = nil
begin
resp = @bot.httputil.get_response("http://us.imdb.com/find?q=#{str}",