title: How to get a specific tag attribute text in Python with BeautifulSoup?
body: <p>I'm coding a little scraper in Python with BS4, in order to get MLB schedule data from ESPN.com</p>
  
  <p>It's almost finished, but I got a little problem here:</p>
  
  <p><a href="http://i.stack.imgur.com/iQSUF.png" rel="nofollow">snippet</a></p>
  
  <pre><code>&lt;div class="teams" data-behavior="fix_broken_images"&gt;&lt;a name="&amp;amp;lpos=mlb:schedule:team" href="/mlb/team/_/name/kc"&gt;&lt;img src="http://a.espncdn.com/combiner/i?img=/i/teamlogos/mlb/500/scoreboard/kc.png&amp;amp;h=50" class="schedule-team-logo"&gt;&lt;/a&gt;&lt;/div&gt;&lt;a name="&amp;amp;lpos=mlb:schedule:team" class="team-name" href="/mlb/team/_/name/kc"&gt;&lt;span&gt;Kansas City&lt;/span&gt; &lt;abbr title="Kansas City Royals"&gt;KC&lt;/abbr&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I can actually read the <code>&lt;span&gt; &lt;/span&gt;</code> content, but I'd like to get the complete team name in <code>&lt;abbr title&gt;</code></p>
  
  <p>Don't know what I'm missing, I've not figured out how to do that</p>
  
  <p>Thanks!</p>