title: python BeautifulSoup get select.value not text
body: <pre class="lang-html prettyprint-override"><code>&lt;select&gt;
    &lt;option value="0"&gt;2002/12&lt;/option&gt;
    &lt;option value="1"&gt;2003/12&lt;/option&gt;
    &lt;option value="2"&gt;2004/12&lt;/option&gt;
    &lt;option value="3"&gt;2005/12&lt;/option&gt;
    &lt;option value="4"&gt;2006/12&lt;/option&gt;
    &lt;option value="5" selected&gt;2007/12&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>with this code, I need value as <code>'0'</code> not text as <code>'2002/12'</code></p>
  
  <p>I tried a lot of BS4 options, <code>.stripped_strings</code>, <code>.strip()</code>, <code>.contents</code>, <code>get()</code>, etc.</p>
  
  <p>How I can get values not text?</p>