import bs4 import requests def get_price(product_url): res = requests.get(product_url) res.raise_for_status() soup = bs4.BeautifulSoup(res.text, \'html.par