BeautifulSoup webscraping find_all( ): finding exact match
https://stackoverflow.com/questions/22726860/beautifulsoup-webscraping-find-all-finding-exact-match
WebMar 29, 2014 · Using BeautifulSoup, I want to find ONLY the products with the attribute class="product" (only Product 1 and 2), not the 'special' products. If I do the following: result = soup.find_all('div', {'class': 'product'}) the result includes ALL the products (1,2,3, and 4). What should I do to find products whose class EXACTLY matches 'product'??
DA: 21 PA: 80 MOZ Rank: 10