I am trying to parse a webpage with Python->Beautiful Soup and the text after loading about 2seconds only appear: [1]Here is the Image about the HTML about the extract
I am trying to extract the contents of the highlighted (Sold Out).
price = soup.find('button', attrs={'class':'ncss-btn-primary-dark'})
But I have an error code with this
price = soup.find('button', attrs={'class':'ncss-btn-primary-dark btn-lg btn-lg disabled'}).text AttributeError: 'NoneType' object has no attribute 'text'
How can I get the text Sold Out from the image shown above? Or should I need something to wait the text to show up only able to find it?