title: How can I extract all div that have a specificl element in it, that it's not class, span, a or li?
body: <p>I'm trying to extract from the a webpage which has many of the following divs (obviously all with different data, except for the initial part):</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div data-asin="B007R2E578" data-index="0" 
    class="sg-col-20-of-24 s-result-item sg-col-0-of-12 sg-col-28-of-32 sg-col-16-of-20 AdHolder sg-col sg-col-32-of-36 sg-col-12-of-16 sg-col-24-of-28"&gt;
    &lt;div class="sg-col-inner"&gt;
  </code></pre>
  
  
  
  <p>All those divs, start identically with: <code>&lt;div data-asin=</code></p>
  
  <p>I'm trying to extract all of them with the find_all function from Beautifulsoup:</p>
  
  <pre><code>structure = soup.find_all('div','data-asin=')
  </code></pre>
  
  <p>However it always return an empty list.</p>
  
  <p>I don't want to use regex.</p>
  
  <p>Is there any function in BeautifulSoup that can get all those divs?</p>