diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-06-19 18:33:09 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-06-19 18:33:09 +0000 |
commit | 2c755b9825305ca191fbfcdea4c0e3b74866b86a (patch) | |
tree | 93441f8929f3fa518fe5e3258ff62eb8e618ab85 | |
parent | Avoid mismatch on server messages. (diff) | |
download | rbot-gentoo-2c755b9825305ca191fbfcdea4c0e3b74866b86a.tar.gz rbot-gentoo-2c755b9825305ca191fbfcdea4c0e3b74866b86a.tar.bz2 rbot-gentoo-2c755b9825305ca191fbfcdea4c0e3b74866b86a.zip |
Dupe the change from the master plugins.
-rw-r--r-- | gentoo-search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo-search.rb b/gentoo-search.rb index f711e59..9644c19 100644 --- a/gentoo-search.rb +++ b/gentoo-search.rb @@ -1,7 +1,7 @@ #-- vim:sw=2:et:ft=ruby 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="")?></td><td> </td><td nowrap>(?:<h2 class=r>)?<font size=\+1><b>(.+)</b>(?:</h2>)?</td>} GOOGLE_DEF_RESULT = %r{<p> (Web definitions for .*?)<br/>(.*?)<br/>(.*?)\s-\s+<a href} |