forked from zaclys/searxng
Merge pull request #289 from return42/fix-xpath
[fix] remove minimum length of content for XPath engine
This commit is contained in:
commit
33ea1d5909
|
@ -194,7 +194,7 @@ def response(resp):
|
|||
|
||||
url = extract_url(eval_xpath_list(result, url_xpath, min_len=1), search_url)
|
||||
title = extract_text(eval_xpath_list(result, title_xpath, min_len=1))
|
||||
content = extract_text(eval_xpath_list(result, content_xpath, min_len=1))
|
||||
content = extract_text(eval_xpath_list(result, content_xpath))
|
||||
tmp_result = {'url': url, 'title': title, 'content': content}
|
||||
|
||||
# add thumbnail if available
|
||||
|
|
Loading…
Reference in New Issue