title: Understand the Find() function in Beautiful Soup
body: <p>I know what I'm trying to do is simple but it's causing me grief. I'd like pull data from HTML using BeautifulSoup. To do that I need to properly use the <code>.find()</code> function. Here's the HTML I'm working with:</p>
  
  <pre><code>&lt;div class="audit"&gt;
  
      &lt;div class="profile-info"&gt;
          &lt;img class="profile-pic" src="https://pbs.twimg.com/profile_images/471758097036226560/tLLeiOiL_normal.jpeg" /&gt;
          &lt;h4&gt;Ed Boon&lt;/h4&gt;
          &lt;span class="screen-name"&gt;&lt;a href="http://www.twitter.com/noobde" target="_blank"&gt;@noobde&lt;/a&gt;&lt;/span&gt;
      &lt;/div&gt;
  
          &lt;div class="followers"&gt;
              &lt;div class="pie"&gt;&lt;/div&gt;
              &lt;div class="pie-data"&gt;
                  &lt;span class="real number" data-value=73599&gt;73,599&lt;/span&gt;&lt;span class="real"&gt; Real&lt;/span&gt;&lt;br /&gt;
                  &lt;span class="fake number" data-value=32452&gt;32,452&lt;/span&gt;&lt;span class="fake"&gt; Fake&lt;/span&gt;&lt;br /&gt;
                  &lt;h6&gt;Followers&lt;/h6&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="score"&gt;
              &lt;img src="//twitteraudit-prod.s3.amazonaws.com/dist/f977287de6281fe3e1ef36d48d996fb83dd6a876/img/audit-result-good.png" /&gt;
              &lt;div class="percentage good"&gt;
                  69%
              &lt;/div&gt;
              &lt;h6&gt;Audit score&lt;/h6&gt;
  </code></pre>
  
  <p>The values I want are <code>73599</code> from <code>data-value=73599</code>, <code>32352</code> from <code>data-value=32452</code>, and the <code>69%</code> from <code>percentage good</code>.</p>
  
  <p>Using past code and online examples, this is what I have so far:</p>
  
  <pre><code>RealValue = soup.find("div", {"class":"real number"})['data-value']
  FakeValue = soup.find("audit", {"class":"fake number"})['data-value']
  </code></pre>
  
  <p>Both so far to no effect. I'm not sure how to craft the find in order to pull the <code>69%</code> number.</p>