From bc5025b06c7222cba6b2e709fcc7cd126c081f34 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 5 Jul 2012 12:34:27 +0200 Subject: [PATCH] Fix for Issue #59 --- lib/utils/google.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils/google.py b/lib/utils/google.py index 97ef7b17c..c2c8a740b 100644 --- a/lib/utils/google.py +++ b/lib/utils/google.py @@ -9,6 +9,7 @@ import cookielib import httplib import re import socket +import urllib import urllib2 from lib.core.common import getUnicode @@ -46,7 +47,7 @@ class Google: HTTP addresses """ - retVal = [match.group(1) for match in re.finditer(GOOGLE_REGEX, page, re.I | re.S)] + retVal = [urllib.unquote(match.group(1)) for match in re.finditer(GOOGLE_REGEX, page, re.I | re.S)] return retVal