mirror of
https://github.com/parchlinuxB/Gitee.git
synced 2025-02-23 18:35:43 -05:00
[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])
|
content = extract_text(result.xpath(content_xpath)[0])
|
||||||
results.append({'url': url, 'title': title, 'content': content})
|
results.append({'url': url, 'title': title, 'content': content})
|
||||||
else:
|
else:
|
||||||
for url, title, content in zip(
|
for url, title, content in zip(
|
||||||
map(extract_url, dom.xpath(url_xpath)), \
|
map(extract_url, dom.xpath(url_xpath)), \
|
||||||
map(extract_text, dom.xpath(title_xpath)), \
|
map(extract_text, dom.xpath(title_xpath)), \
|
||||||
map(extract_text, dom.xpath(content_xpath)), \
|
map(extract_text, dom.xpath(content_xpath)), \
|
||||||
|
|
Loading…
Add table
Reference in a new issue