title: Custom attributes in BeautifulSoup?
body: <p>I am trying to use Beautiful soup to target a DIV with a non-standard attribute. Here's the DIV:</p>
  
  <pre><code>`&lt;div data-asin="099655596X" data-index="1" class="sg-col-20-of-24 s-result-item sg-col-0-of-12 sg-col-28-of-32 sg-col-16-of-20 sg-col sg-col-32-of-36 sg-col-12-of-16 sg-col-24-of-28" data-cel widget="search_result_1"&gt;`
  </code></pre>
  
  <p>I need to find_all DIV with the data-asin attribute, and get the asin as well. BS appears to support this feature, but what I am doing isn't working. Here's my code that doesn't work:</p>
  
  <pre><code>`rows = soup.find_all(attrs={"data-asin": "value"})`
  </code></pre>
  
  <p>How do I need to craft my BS in Python3.7 to find_all these DIV?</p>