mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-16 07:26:46 +00:00
delete fulltext for too slow
This commit is contained in:
@@ -8,10 +8,6 @@ def parse(post):
|
|||||||
item['title'] = post.css('a.question_link::text').extract()[-1].strip()
|
item['title'] = post.css('a.question_link::text').extract()[-1].strip()
|
||||||
link = f"{domain}{post.css('a.question_link::attr(href)').extract_first()}"
|
link = f"{domain}{post.css('a.question_link::attr(href)').extract_first()}"
|
||||||
item['link'] = link
|
item['link'] = link
|
||||||
try:
|
|
||||||
item['description'] = '\n'.join(fetch(link).css('p span::text').extract())
|
|
||||||
except AttributeError:
|
|
||||||
pass
|
|
||||||
return item
|
return item
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user