title: python web scraping .find() returns nothing
body: <p>I'm new in python, was following a few video tutorials to do some data scraping from a listing site.</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div class="listing-info"&gt;
    &lt;h3&gt;
      &lt;a href="/property-listing/english-townhouse-residence" itemprop="url" title = "For Sale English Townhouse"&gt;&lt;span itemprop="name"&gt;English Townhouse&lt;/span&gt;
      &lt;/a&gt;
    &lt;/h3&gt;
    &lt;ul class="listing-features"&gt;
      &lt;li class="lst-details"&gt;
        &lt;span class="lst-ptype"&gt;Semi-Detached House &lt;/span&gt;
        &lt;span class="lst-tenure"&gt;Freehold&lt;/span&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Under element ul - listing feature, I would like to consume 'Semi-detached house' as residential type and 'Freehold' as residential tenure.</p>
  
  <p>I have the above html parsed into <strong>listing-info</strong> variable.    </p>
  
  <p>My code trial:</p>
  
  <pre><code>listing-info.li.text
  </code></pre>
  
  <p>Here I'm able to get <strong>Semi-detached house</strong></p>
  
  <p>Understanding that there are two span classes in list and so to be specific I tried:</p>
  
  <pre><code>listing-info.find('span',class_='1st-ptype')
  listing-info.find('span',class_='1st-tenure')
  </code></pre>
  
  <p>Both returnes empty.<br>
  Can anyone enlighten me on this?</p>
  
  <p>Thank you in advance</p>