delete fulltext for too slow

This commit is contained in:
alphardex
2019-01-17 10:32:27 +08:00
parent 959669381b
commit 897fbbc8c5
2 changed files with 1 additions and 5 deletions

View File

@@ -8,10 +8,6 @@ def parse(post):
item['title'] = post.css('a.question_link::text').extract()[-1].strip()
link = f"{domain}{post.css('a.question_link::attr(href)').extract_first()}"
item['link'] = link
try:
item['description'] = '\n'.join(fetch(link).css('p span::text').extract())
except AttributeError:
pass
return item