I am trying to scrape the following website:
www.londonstockexchange.com/news-article/THRG/net-asset-value-s/15242427
Basically I just want to save the text, i.e. the following:
"The unaudited net asset values for BlackRock Throgmorton Trust PLC at close of business on 7 December 2021 were: 938.74p Capital only 947.82p Including current year income"
I've tried using the following code, however, I can't seem to parse the element. Any ideas to why?
url = "https://www.londonstockexchange.com/news-article/THRG/net-asset-value-s/15242427"
page = requests.get(url) # Requests website
soup = BeautifulSoup(page.content, 'html.parser')
table = soup.find_all('div', attrs={'class':'news-body-content'})
table
Tried various way, however, without luck. Hope someone can help.