diff options
author | asciimoo <asciimoo@gmail.com> | 2014-01-12 18:48:38 +0100 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2014-01-12 18:48:38 +0100 |
commit | 060ea4d2f54061f89a1846de4fbce82ff10c594c (patch) | |
tree | 957ab03c5ee417c459245916de1869ce6e146eba | |
parent | 4f12c951344d3363978f43b1e03353c750efe015 (diff) | |
download | searxng-060ea4d2f54061f89a1846de4fbce82ff10c594c.tar.gz searxng-060ea4d2f54061f89a1846de4fbce82ff10c594c.zip |
[fix] whitespaces removed
-rw-r--r-- | searx/engines/xpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index e1ccad8de..5e2c3c38b 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -86,7 +86,7 @@ def response(resp): content = extract_text(result.xpath(content_xpath)[0]) results.append({'url': url, 'title': title, 'content': content}) else: - for url, title, content in zip( + for url, title, content in zip( map(extract_url, dom.xpath(url_xpath)), \ map(extract_text, dom.xpath(title_xpath)), \ map(extract_text, dom.xpath(content_xpath)), \ |