get a value from option with beatifulsoup
<p>I want to get the value "Abelay" from this htmltext: </p>

<pre><code>&lt;/option&gt;
&lt;option
data-quantity="49"
data-quantity="49"
data-customer-type="family_with_children"
data-score=""
data-dist="2"
data-pagename="abelay"
</code></pre>

<p>but this code show tons of options that I dont need. I know it is because I code "find_all". </p>

<p>Do you know how to reduce the results for getting only the data-pagename="abelay" result. I need to store this value.</p>

<p>I will really appreciate your help.  I am not skilled in Python by the moment. </p>

<p>Salut!! </p>