logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 1e5cbc5f9e3961ed60758e4df93c3bc3e647b10b
parent: d2da51179ab9f55928b15fd97ba2d8ecc5099552
Author: asciimoo <asciimoo@gmail.com>
Date:   Sat, 19 Oct 2013 20:13:48 +0200

[fix] sanitize results II.

Diffstat:

Msearx/engines/startpage.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py @@ -24,7 +24,7 @@ def response(resp): url = urljoin(base_url, link.attrib.get('href')) parsed_url = urlparse(url) # TODO better google link detection - if parsed_url.netloc.find('google.com') >= 0: + if parsed_url.netloc.find('www.google.com') >= 0: continue title = ' '.join(link.xpath('.//text()')) content = escape(' '.join(result.xpath('.//p[@class="desc"]//text()')))