title: Beautiful Soup find first <a> whose title attribute equal a certain string
body: <p>I'm working with beautiful soup and am trying to grab the first  tag on a page that has the attribute equal to a certain string.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;a href="url" title="export"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>What I've been trying to do is grab the href of the first  that is found whose title is "export". </p>
  
  <ul>
  <li>If I use <code>soup.select("a[title='export']")</code> then I end up finding all tags who satisfy this requirement, not just the first.</li>
  <li><p>If I use <code>find("a", {"title":"export"})</code> with conditions being set such that the title should equal "export", then it grabs the actual items inside the  tag, not the href.</p></li>
  <li><p>If I write <code>.get("href")</code> after calling <code>find()</code>, I get None back. </p></li>
  </ul>
  
  <p>I've been searching the documentation and stack overflow for an answer but have yet found one. Does anyone know a solution to this? Thank you!</p>