mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-15 23:16:48 +00:00
fix none to businesswire item link
This commit is contained in:
@@ -7,8 +7,8 @@ domain = 'businesswire.com'
|
||||
def parse(post):
|
||||
item = {}
|
||||
item['title'] = post.css('title::text').extract_first().strip()
|
||||
item['description'] = post.css('description::text').extract_first().strip(']]>')
|
||||
item['link'] = post.css('link::text').extract_first()
|
||||
item['description'] = post.css('description::text').extract_first()
|
||||
item['link'] = post.extract().split(' ')[-2].split('>')[-1].strip()
|
||||
item['pubDate'] = post.css('pubDate::text').extract_first()
|
||||
return item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user