diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-04 13:53:47 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-04 13:53:47 +0000 |
commit | f955b7187f452323ded7ccd41cf898117e48e391 (patch) | |
tree | 5e860c1b9ac0646613046d0ceb40ac12713df7d3 /data/rbot/plugins/imdb.rb | |
parent | cec1d358f795a1ff5bef18d23eab3899b872fbd2 (diff) |
imdb plugin: search on the 'aka' sites, allowing the correct movie to be found even when searching for a translated title
Diffstat (limited to 'data/rbot/plugins/imdb.rb')
-rw-r--r-- | data/rbot/plugins/imdb.rb | 2 |
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}", |