On the web page I am am trying to scrape, I have come across the following html tag: <p class="star-rating One">
Currently, I am using the following code (which returns a blank line):
rated = b.find(class_="star-rating").get_text().strip()
How do I get the value "One" from this class?
Thank you for your time.
Kate
Currently, I am using the following code (which returns a blank line):
rated = b.find(class_="star-rating").get_text().strip()
How do I get the value "One" from this class?
Thank you for your time.
Kate