title: How to extract td HTML tags with Python BeautifulSoup?
body: <p>I am trying to scrap a <a href="http://bgp.he.net/AS2#_prefixes" rel="nofollow">webpage</a> and extract prefixes and their names out of it. however, for some of the tags, I cannot extract them and my guess is that there are invisible tags. Here is my python code:</p>
  
  <pre><code>opener.addheaders = [('User-agent', 'Mozilla/5.0')]
  response = opener.open('http://bgp.he.net/AS23028#_prefixes')
  html = response.read()
  soup = BeautifulSoup(html)
  soup_1 = soup.find("table", id = "table_prefixes4")
  soup_2 = soup_1.findAll("td")
  print soup_2
  </code></pre>
  
  <p>Does anybody have any idea how to get the name after  tags? Here is the html content of the page:</p>
  
  <pre><code>&lt;div class="flag alignright floatright"&gt;&lt;img alt="United States" src="/images/flags/us.gif?1282328089" title="United States"/&gt;&lt;/div&gt;
  &lt;/td&gt;, &lt;td class="nowrap"&gt;
  &lt;a href="/net/209.176.111.0/24"&gt;209.176.111.0/24&lt;/a&gt;
  &lt;/td&gt;, &lt;td&gt;Savvis
  </code></pre>
  
  <p>and I want to extract prefix "209.176.111.0/24" and "Savvis" from the HTML</p>