From 14470d46ea334b1266de97e30b220d3234e17548 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 1 Sep 2010 15:04:18 +0200 Subject: search: google calc can be in non-h2 headers --- data/rbot/plugins/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb index 8b3b6848..dc525929 100644 --- a/data/rbot/plugins/search.rb +++ b/data/rbot/plugins/search.rb @@ -19,7 +19,7 @@ GOOGLE_SEARCH = "http://www.google.com/search?oe=UTF-8&q=" GOOGLE_WAP_SEARCH = "http://www.google.com/m/search?hl=en&q=" # GOOGLE_WAP_LINK = /(.*?)<\/a>/im GOOGLE_WAP_LINK = /(.*?)<\/a>/im -GOOGLE_CALC_RESULT = %r{.*?

]*>(.+?)} +GOOGLE_CALC_RESULT = %r{.*?]*>(.+?)} GOOGLE_COUNT_RESULT = %r{Results 1<\/b> - 10<\/b> of about (.*)<\/b> for} GOOGLE_DEF_RESULT = %r{]*>(Web definitions for .*?)
(.*?)
(.*?)\s-\s+
]+>(.+?)<(br|/td)>} -- cgit v1.2.3