title: Using Beautiful Soup in Python to check availability of a product online
body: <p>I am using python 2.7 and version 4.5.1 of Beautiful Soup</p>
  
  <p>I'm at my wits end trying to make this very simple script to work. My goal is to to get the information on the online availability status of the NES console from Best Buy's website by parsing the html for the product's page and extracting the information in</p>
  
  <pre><code>&lt;div class="status online-availability-status"&gt;             Sold out online     &lt;/div&gt;
  </code></pre>
  
  <p>This is my first time using the Beautiful Soup module so forgive me if I have missed something obvious. Here is the script I wrote to try to get the information above:</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  page = requests.get('http://www.bestbuy.ca/en-CA/product/nintendo-nintendo-entertainment-system-nes-classic-edition-console-clvsnesa/10488665.aspx?path=922de2a5ceb066b0f058cc567ad3d547en02')
  
  soup = BeautifulSoup(page.content, 'html.parser')
  
  avail = soup.findAll('div', {"class": "status online-availability-status"})
  </code></pre>
  
  <p>But then I just get an empty list for <code>avail</code>. Any idea why?</p>
  
  <p>Any help is greatly appreciated.</p>