quick fix for google searches

This commit is contained in:
Miroslav Stampar 2010-11-19 21:38:20 +00:00
parent 99a23e23cf
commit 71107e4e9e

View File

@ -45,7 +45,7 @@ class Google:
matches = []
regExpr = r'h3 class="?r"?><a href="(http[s]?://.+?)"\sclass="?l"?'
regExpr = r'h3 class="?r"?><a href="(http[s]?://[^"]+?)"\sclass="?l"?'
matches = re.findall(regExpr, page, re.I | re.M)
return matches