title: How to skip through same tags in BeautifulSoup - Python
body: <p>I am currently writing code for Scrapers and more and more become a fan of Python and especially BeautifulSoup.</p>
  
  <p>Still... When parsing through html I came across a difficult part that I could only use in a not so beautiful way.</p>
  
  <p>I want to scrape HTML Code and especially the following snippet:</p>
  
  <pre><code>&lt;div class="title-box"&gt;
      &lt;h2&gt;
          &lt;span class="result-desc"&gt;
              Search results &lt;strong&gt;1&lt;/strong&gt;-&lt;strong&gt;10&lt;/strong&gt; out of &lt;strong&gt;10,009&lt;/strong&gt; about &lt;strong&gt;paul mccartney&lt;/strong&gt;&lt;a href="alert/settings" class="title-email-alert-promo x-title-alerts-promo"&gt;Create email Alert&lt;/a&gt;
          &lt;/span&gt;
      &lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So what I do is I identify the div by using:</p>
  
  <pre><code>comment = TopsySoup.find('div', attrs={'class' : 'title-box'})
  </code></pre>
  
  <p>Then the ugly part comes in. To catch the number I want to have: 10,009 I use:</p>
  
  <pre><code>catcher = comment.strong.next.next.next.next.next.next.next
  </code></pre>
  
  <p>Can somebody tell me if there is a nicer way?</p>