title: Web Scraping data using python?
body: <p>I just started learning web scraping using Python. However, I've already ran into some problems.</p>
  <p>My goal is to web scrape the names of the different tuna species from fishbase.org (<a href="http://www.fishbase.org/ComNames/CommonNameSearchList.php?CommonName=salmon" rel="nofollow noreferrer">http://www.fishbase.org/ComNames/CommonNameSearchList.php?CommonName=salmon</a>)</p>
  <p>The problem: I'm unable to extract all of the species names.</p>
  <p>This is what I have so far:</p>
  <pre><code>import urllib2
  from bs4 import BeautifulSoup
  
  fish_url = 'http://www.fishbase.org/ComNames/CommonNameSearchList.php?CommonName=Tuna'
  page = urllib2.urlopen(fish_url)
  
  soup = BeautifulSoup(html_doc)
  
  spans = soup.find_all(
  </code></pre>
  <p>From here, I don't know how I would go about extracting the species names. I've thought of using regex (i.e. <code>soup.find_all(&quot;a&quot;, text=re.compile(&quot;\d+\s+\d+&quot;))</code> to capture the texts inside the  tag...</p>
  <p>Any input will be highly appreciated!</p>