diff --git a/rsshub/spiders/earningsdate/prnewswire.py b/rsshub/spiders/earningsdate/prnewswire.py index 48af011..c5fd469 100644 --- a/rsshub/spiders/earningsdate/prnewswire.py +++ b/rsshub/spiders/earningsdate/prnewswire.py @@ -4,7 +4,7 @@ domain = 'https://www.prnewswire.com' def parse(post): item = {} - item['title'] = post.css('a::text').extract_first() + item['title'] = post.css('a::text').getall()[1] item['description'] = post.css('p::text').extract_first() item['link'] = f"{domain}{post.css('a::attr(href)').extract_first()}" item['pubDate'] = post.css('small::text').extract_first() @@ -23,4 +23,4 @@ def ctx(category=''): 'description': 'Earnings Date - Prnewswire', 'author': 'hillerliao', 'items': items - } \ No newline at end of file + }