Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc5025b

Browse files
committed
Fix for Issue #59
1 parent c3c1b9e commit bc5025b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/utils/google.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import httplib
1010
import re
1111
import socket
12+
import urllib
1213
import urllib2
1314

1415
from lib.core.common import getUnicode
@@ -46,7 +47,7 @@ def _parsePage(self, page):
4647
HTTP addresses
4748
"""
4849

49-
retVal = [match.group(1) for match in re.finditer(GOOGLE_REGEX, page, re.I | re.S)]
50+
retVal = [urllib.unquote(match.group(1)) for match in re.finditer(GOOGLE_REGEX, page, re.I | re.S)]
5051

5152
return retVal
5253

0 commit comments

Comments
 (0)