Using find_all() to Get All Matches
products = soup.find_all('div', class_='product')
for product in products:
name = product.find('h2').get_text()
price = product.find('p', class_='price').get_text()
buy_link = product.find('a', class_='buy-link')['href']
print(f"Name: {name}, Price: {price}, Buy link: {buy_link}")