diff --git a/ox/web/google.py b/ox/web/google.py index 34c6e31..91fccf1 100644 --- a/ox/web/google.py +++ b/ox/web/google.py @@ -31,9 +31,7 @@ def find(query, max_results=DEFAULT_MAX_RESULTS, timeout=DEFAULT_TIMEOUT): data = read_url(url, timeout=timeout) results = [] data = re.sub('(.*?)', '\\1', data) - for a in re.compile( - '(.*?).*?(.*?)<\/span>' - ).findall(data): + for a in re.compile('(.*?).*?(.*?)<\/span>').findall(data): results.append((strip_tags(decode_html(a[1])), a[0], strip_tags(decode_html(a[2])))) if len(results) >= max_results: break