Skip to content

Instantly share code, notes, and snippets.

@deepak2431
Created June 28, 2019 13:58
Show Gist options
  • Save deepak2431/10541686b208bf890828c916a3bbc99d to your computer and use it in GitHub Desktop.
Save deepak2431/10541686b208bf890828c916a3bbc99d to your computer and use it in GitHub Desktop.
prices_list = []
products_list = []
for link in containers:
p = link.find_all('a')
for h in p:
products, price = h.get('data-boodmo-products'), h.get('data-boodmo-price')
products_list.append(products)
prices_list.append(price)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment