forked from Ponysearch/Ponysearch
[fix] whitespaces removed
This commit is contained in:
parent
4f12c95134
commit
060ea4d2f5
1 changed files with 1 additions and 1 deletions
|
@ -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)), \
|
||||
|
|
Loading…
Reference in a new issue