diff --git a/ox/web/duckduckgo.py b/ox/web/duckduckgo.py index bcad7ae..415576f 100644 --- a/ox/web/duckduckgo.py +++ b/ox/web/duckduckgo.py @@ -15,7 +15,7 @@ def find(query, timeout=ox.cache.cache_timeout): url = 'http://duckduckgo.com/html/?' + params data = read_url(url, timeout=timeout, unicode=True) results = [] - regex = '(.*?).*?
(.*?)
' + regex = '(.*?).*?
(.*?)
' for r in re.compile(regex, re.DOTALL).findall(data): results.append((strip_tags(decode_html(r[1])), r[0], strip_tags(decode_html(r[2])))) return results