title: Beautiful Soup extract tag attributes, then find_all with multiple attributes
body: <p>I am trying to extract the same information which appears numerous times on the same page.  I am able to find the tag that it fits in which looks like this:</p>
  
  <pre><code>&lt;div class="title" style="visibility: visible"&gt;
  </code></pre>
  
  <p>From this, i'd like to extract:</p>
  
  <pre><code> class="title"
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>style="visibility: visible"
  </code></pre>
  
  <p>Then do a:</p>
  
  <pre><code>find_all('div),{'class':'title,'style''visibility: visible'}
  </code></pre>
  
  <p>This is going to happen in numerous instances, so I can't hardcode it.  Sometimes the tag will have a class, sometimes a class and style....sometimes more....</p>
  
  <p>Is this possible?</p>
  
  <p>Really appreciate any direction on this.</p>
  
  <p>Many thanks,</p>