From 8e5e77b52141d1acb6c11254771b99441ea9c70e Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Wed, 22 Feb 2012 14:18:33 +1300 Subject: [PATCH] Changed to the old output format for plugins/google.py --- plugins/google.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/google.py b/plugins/google.py index c80d33e..9d0a57b 100644 --- a/plugins/google.py +++ b/plugins/google.py @@ -45,11 +45,11 @@ def google(inp): else: content = http.html.fromstring(content).text_content() - out = '%s :: %s :: %s' % (result['unescapedUrl'], title, content) + out = '%s -- \x02%s\x02: "%s"' % (result['unescapedUrl'], title, content) out = ' '.join(out.split()) - if len(out) > 250: + if len(out) > 300: out = out[:out.rfind(' ')] + '...' return out