From 0f78c6dd8e92d9950117ecf0bb8e5c5faad8887f Mon Sep 17 00:00:00 2001 From: lukeroge Date: Mon, 20 Feb 2012 10:53:24 +1300 Subject: [PATCH] Update plugins/google.py --- plugins/google.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/google.py b/plugins/google.py index 8f49c6e..a96b49c 100644 --- a/plugins/google.py +++ b/plugins/google.py @@ -44,11 +44,8 @@ def google(inp): content = "No description available." else: content = http.html.fromstring(content).text_content() - - if len(content) > 250: - content = content[:250] + '...' - out = '%s :: %s :: %s' % (title, content, result['unescapedUrl']) + out = '%s :: %s :: %s' % (result['unescapedUrl'], title, content) out = ' '.join(out.split())