title: BeautifulSoup HTML except Tag
body: <pre><code>&lt;tbody&gt;
    &lt;tr class="abc bg1"&gt;...&lt;/tr&gt;
    &lt;tr class="bg1"&gt;...&lt;/tr&gt;
      &lt;td&gt; class="no"&gt;...&lt;/td&gt;
      &lt;td&gt;sampletext&lt;/td&gt;
      &lt;td&gt; class="title"&gt;...&lt;/td&gt;
    &lt;tr class="bg2"&gt;...&lt;/tr&gt;
  </code></pre>
  
  <p>This sample code has 3 class 'abc bg1','bg1','bg2'
  I want only 'bg1','bg2' tag
  so I used <code>soup.select('tbody &gt; tr.bg1 &gt; td')</code></p>
  
  <p>This code results in 'abc bg1','bg1' tag children 'td'
  How do I get the results I want?
  And to 'bg1', I want to extract only text except for other Tags
  ex):
  sampletext &lt;- only</p>