title: Monitor availability Decathlon's products
body: <p>I developed this Python script to monitor the availability of Decathlon's products.</p>
  <p>The problem is that i get the same output &quot;Unavailable&quot; for all the products that i monitor, also if they are in stock. This because the product in stock and the one not in stock have the same script. Which part of the Decathlon script do I have to scrape?</p>
  <p>Here's my program:</p>
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  headers = {
  &quot;User-Agent&quot;: &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36&quot;
  }
  
  url = 'https://www.decathlon.it/kit-manubri-e-bilanciere-50-kg-id_8501164.html'
  response = requests.get(url, headers=headers)
  
  soup = BeautifulSoup(response.content, 'html.parser')
  
  soup.encode('utf-8')
  def send_notifcation():
      print('Sending notification to discord...')
  
  def product_checker():
      title = soup.find( id = 'productName').get_text()
      price = soup.find(id = 'real_price_value').get_text()
      available = soup.find(attrs={'class':&quot;unavailability&quot;}).get_text()
      print(title)
      print(price)
      print (available)
      if available=='Disponibile': #'Disponibile' means 'available in Italian.
          send_notifcation()
  
  while(True):
    print(&quot;\nChecking product... \n&quot;)
    product_checker()
    time.sleep(2 * 30)
  
  #&quot;Prodotto non disponibile online.&quot; means &quot;Product not available online.&quot;
  </code></pre>