http://usggwz6vwth276fdyccskoba5u2jis5ugv2ew2fy2blowgf2dv73axad.onion/post/scraping-essentials-beautifulsoup.html
The CSS classes called a-size-base and a-color-base are used more than once in the product page so we can’t
select them directly. product_rating_raw : str = browser . page . find ( ' div ' , attrs = { ' id ' : ' averageCustomerReviews ' }). find ( ' span ' , class_ = ' a-size-base a-color-base ' ). text . strip () The find operation with class_='a-size-base a-color-base' , i.e.:
space-separated classes, will match a tag with exactly those classes, not more,
not less.