fix businesswire item link

This commit is contained in:
hillerliao
2020-03-14 12:31:35 +08:00
parent 7569e39a82
commit e4734cb1d2

View File

@@ -8,7 +8,7 @@ def parse(post):
item = {} item = {}
item['title'] = post.css('title::text').extract_first().strip() item['title'] = post.css('title::text').extract_first().strip()
item['description'] = post.css('description::text').extract_first().strip(']]>') item['description'] = post.css('description::text').extract_first().strip(']]>')
item['link'] = post.css('guid::text').extract_first() item['link'] = post.css('link::text').extract_first()
item['pubDate'] = post.css('pubDate::text').extract_first() item['pubDate'] = post.css('pubDate::text').extract_first()
return item return item