I want to scrape only the business summary of a company from yahoo finance page eg https://in.finance.yahoo.com/quote/AAPL?p=AAPL Business summary is the information below the company profile on the webpage on the right side. I can see that it is defined in a class of 'p'. but it is quite nested in divs. I am not able to navigate to it using beautiful soup.
I tried this
article_text = ''
article = soup.findAll('p', {'class': 'businessSummary Mt(10px) 0v(h)
Tov(e)'})
import pdb; pdb.set_trace()
for element in article:
article_text += '\n' + ''.join(element.findAll(text = True))
print article_text
but it is not returning me the paragraph text.
Thanks in Advance. I was not able to paste the source inspect of the webpage. Not able to format to paste it here in readable way.