diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index e1ccad8d..5e2c3c38 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)), \