forked from Ponysearch/Ponysearch
Merge pull request #289 from return42/fix-xpath
[fix] remove minimum length of content for XPath engine
This commit is contained in:
commit
33ea1d5909
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue