Currently, I'm using the coding to retrieve the story below. I'd like to add the headline of the news. How can I do it?
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
articledata=""
headlines = ek.get_news_headlines(query='JPXエネルギー',count=1)
story = headlines.iat[0,2]
data_all=ek.get_news_story(story)
maru_count_list = []
for m in re.finditer('。', data_all):
maru_count_list.append(m.end())
html_story = data_all[0:maru_count_list[1]]
soup = BeautifulSoup(html_story, 'html.parser')
articledata = [i.get_text() for i in soup.select('p')]
print(headlines)
print(articledata)
# type(articledata)
articledata