I am trying to scrape a rating from a website called msci https://www.msci.com/our-solutions/esg-investing/esg-ratings/esg-fund-ratings/funds/omr-blackrock-global-equity/72001927
and the code changes such as for an A rating it's:
<div class="ratingdata-fund-rating esg-fund-ratings-circle-a"></div>
and if B it is:
<div class="ratingdata-fund-rating esg-fund-ratings-circle-b"></div>
Is there/ how would I be able to see if a page is esg-fund-ratings-circle-b or esg-fund-ratings-circle-a
I am new to scraping and any help would be very appreciated