title: How to find all elements with a custom html attribute regardless of html tag using Beautiful Soup?
body: <p>I have two cases where i want to scrape html tags with custom html attributes
  This is the example of the html.  How do you scrape all the elements with the custom attribute "limit".</p>
  
  <pre><code>&lt;div class="names" limit="10"&gt;Bar&lt;/div&gt; 
  &lt;div id="30" limit="20"&gt;Foo&lt;/div&gt; 
  &lt;li limit="x"&gt;Baz&lt;/li&gt;
  </code></pre>
  
  <p>The second case is similar but with all the same html tags</p>
  
  <pre><code>&lt;div class="names" limit="10"&gt;Bar&lt;/div&gt; 
  &lt;div class="names" limit="20"&gt;Bar&lt;/div&gt; 
  &lt;div class="names" limit="30"&gt;Bar&lt;/div&gt; 
  </code></pre>
  
  <p>My question is different than <a href="https://stackoverflow.com/questions/8933863/how-to-find-tags-with-only-certain-attributes-beautifulsoup">How to find tags with only certain attributes - BeautifulSoup</a> because the latter targets attribute values with a specific tag whereas my question finds attributes only regardless of tag or value</p>