title: How to pull data value slug instead of text in Beautiful Soup web scrape
body: <p>I am trying to pull the data value slug instead of the rendered website text.</p>
  <pre><code>&lt;option value=&quot;93&quot; data-value-slug=&quot;lager-munich-dunkel&quot;&gt;Lager - 
  Munich Dunkel&lt;/option&gt;
  
  #This currently pulls 'Lager Munich Dunkel' instead of 'lager-munich-dunkel'
  beer_type = []
      for b in beer_type:
      beer_style = b.select('option')
      beer_row = [i.text for i in beer_style]
      beer_type.append(beer_row)
  beer_type
  </code></pre>
  <p>I need to pull the data value slug portion of the html so I can use it in the url as <code>lager-munich-dunkel</code></p>