title: Python: search individual tag through BeautifulSoup
body: <p>I am trying to create a list top 10 news articles from BBC's most read section. The code I have is as below:</p>
  
  <pre><code>from bs4 import BeautifulSoup, SoupStrainer
  import urllib2
  import re
  
  opener = urllib2.build_opener()
  
  url = 'http://www.bbc.co.uk/news/popular/read'
  
  soup = BeautifulSoup(opener.open(url), "lxml")
  
  titleTag = soup.html.head.title
  
  print(titleTag.string)
  
  tagSpan = soup.find_all("span");
  
  for tag in tagSpan:
      print(tag.get("class"))
  </code></pre>
  
  <p>What I am looking for is the string between <code>&lt;span class="most-popular-page-list-item__headline"&gt;</code> and <code>&lt;/span&gt;</code></p>
  
  <p>How do I get the string and make a list of such strings?</p>