title: Scraping data using span title and span class
body: <p>I'm using Python Anaconda to scrape data into an Excel sheet. I'm running into some trouble with two sites.</p>
  
  <p><strong>Site 1</strong></p>
  
  <pre><code>&lt;div id="ember3815" class="ember-view"&gt;
  &lt;p class="org-top-card-module__company-descriptions Sans-15px-black-55%"&gt;
  &lt;span class="company-industries org-top-card-module__dot-separated-list"&gt;
    Industry
  &lt;/span&gt;
  &lt;span class="org-top-card-module__location org-top-card-module__dot-separated-list"&gt;
    City, State
  &lt;/span&gt;
  &lt;span title="62,346 followers" class="org-top-card-module__followers-count org-top-card-module__dot-separated-list"&gt;
    62,346 followers
  &lt;/span&gt;
  </code></pre>
  
  <p></p></p>
  
  <p></p>
  
  <p>I'm trying to pull the span title. Things I've tried (I've also tried them all as find_all):</p>
  
  <pre><code>text = soup.find('span',{'class':"company-industries org-top-card-module__dot-separated-list"})
  
  text = soup.find('p',{'class':"org-top-card-module__company-descriptions Sans-15px-black-55%"})
  
  text = soup.body.find('span', attrs={'class': 'org-top-card-module__location org-top-card-module__dot-separated-list'})
  
  text = soup.find('span',{'class': 'org-top-card-module__location org-top-card-module__dot-separated-list'})
  </code></pre>
  
  <p>I'm sure there are also other things I've tried that I'm not listed, because I don't remember them all. I'm not a programmer, I'm just trying to figure this out to pull data for analysis. Help? </p>
  
  <p><strong>Site 2</strong></p>
  
  <p>I need to pull the value 8,052 from the html below. </p>
  
  <pre><code>&lt;section class="zwlfE"&gt;
  &lt;div class="nZSzR"&gt;...&lt;/div&gt;
  &lt;ul class="k9GMp "&gt;
  &lt;li class="Y8-fY "&gt;...&lt;/li&gt;
  &lt;li class-"Y8-fY "&gt;
  &lt;a class="g47SY " title="8,052"&gt;8,052&lt;/span&gt;" followers"
  &lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="Y8-fY "&gt;...&lt;/li&gt;
  &lt;/ul&gt;
  &lt;div class="-vDIg"&gt;...&lt;/div&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>I have tried:</p>
  
  <ul>
  <li>text = soup.find('span',{'class': "g47SY "})</li>
  <li>similar to above but with the div and li tags</li>
  </ul>
  
  <p>Everything I've tried results in [].</p>
  
  <p>Please help?</p>