title: scrap link from balise a inside div using python BeautifulSoup
body: <h2>i want to scrap link from balise a inside the balise div</h2>
  <hr />
  <p><strong>this my code :</strong></p>
  <pre><code>from bs4 import BeautifulSoup
  import requests
  
  
  ProductUrl = {}
  
  url = &quot;https://megapc.tn/shop/ORDINATEURS/PC%20GAMER?selection=true&quot;
  
  header = {&quot;User-Agent&quot;:&quot;Mozilla/5.0 (Windows NT 6.1; WOW64; rv:77.0) Gecko/20190101 Firefox/77.0&quot;}
  
  req = requests.get(url, headers=header)
  soup = BeautifulSoup(req.content, 'lxml')
  
  #find title of product
  showName = soup.find_all('p',{'class':'title-prod'})
  
  #print(showName)
  
  #find price of product
  showPrice = soup.find_all('div',{'class':'new-price'})
  
  #print(showPrice)
  
  #find link of product
  for urlItem in soup.select(&quot;div.card a&quot;):
      print(urlItem)
  </code></pre>
  <h2>This is the result I want :</h2>
  <pre><code>https://megapc.tn/shop/product/ORDINATEURS/PC%20GAMER/GX-7---RYZEN--3-1200---GTX-1650-D6-OC---8-GB
  https://megapc.tn/shop/product/ORDINATEURS/PC%20GAMER/GX-8---i3-10105F---GTX-1650-D6-OC---8GB
  https://megapc.tn/shop/product/ORDINATEURS/FULL%20SETUP/GX-9---RYZEN-3-1200---GT-1030-OC---8GB
  https://megapc.tn/shop/product/ORDINATEURS/FULL%20SETUP/GX-10---i3-10105F---GT-1030-AERO-OC---8GB
  https://megapc.tn/shop/product/ORDINATEURS/PC%20GAMER/pc-gamer-GX-11-GTX-1650-OC-8GB
  https://megapc.tn/shop/product/ORDINATEURS/PC%20GAMER/pc-gamer-GX-12-10400F-BOX-GTX-1650-D6-OC
  ...
  </code></pre>
  <p><a href="https://i.stack.imgur.com/SjwIH.png" rel="nofollow noreferrer">enter image description here</a></p>
  <blockquote>
  <p>any solution possible ??</p>
  </blockquote>