logo

searx

My custom branche(s) on searx, a meta-search engine
commit: b647244abf32076dd5f82817b49346a18ddcdc69
parent: 72793725e2049628d4de57ad46bb4113eb83faa6
Author: asciimoo <asciimoo@gmail.com>
Date:   Thu, 30 Jan 2014 03:10:20 +0100

[fix] function parameters

Diffstat:

Msearx/engines/xpath.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py @@ -92,7 +92,8 @@ def response(resp): results.append({'url': url, 'title': title, 'content': content}) else: for url, title, content in zip( - map(extract_url, dom.xpath(url_xpath)), + (extract_url(x, search_url) for + x in dom.xpath(url_xpath)), map(extract_text, dom.xpath(title_xpath)), map(extract_text, dom.xpath(content_xpath)) ):