diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-06-12 10:20:01 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-06-12 10:20:01 +0200 |
commit | 1edbd266e5f0e0a2d54425c1b70c6b27efb79083 (patch) | |
tree | 99767ec35ee7be79dc457199d8db80d6451bb192 /data/rbot | |
parent | 8b082f999db91d5380af28d136585f6c9083090e (diff) |
search: Google changed their WAP address
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb index cf74e0e3..3b0fac5f 100644 --- a/data/rbot/plugins/search.rb +++ b/data/rbot/plugins/search.rb @@ -16,7 +16,7 @@ # for most languages GOOGLE_SEARCH = "http://www.google.com/search?oe=UTF-8&q=" -GOOGLE_WAP_SEARCH = "http://www.google.com/wml/search?hl=en&q=" +GOOGLE_WAP_SEARCH = "http://www.google.com/m/search?hl=en&q=" GOOGLE_WAP_LINK = /<a accesskey="(\d)" href=".*?u=(.*?)">(.*?)<\/a>/im GOOGLE_CALC_RESULT = %r{<img src=/images/calc_img\.gif(?: width=40 height=30 alt="")?>.*?<h2 class=r[^>]*><b>(.+?)</b>} GOOGLE_COUNT_RESULT = %r{<font size=-1>Results <b>1<\/b> - <b>10<\/b> of about <b>(.*)<\/b> for} |