Html – Python / BeautifulSoup get an attribute within <option>
I am a python / beautifulsoup newbie here. I am trying to get an attribute value within the <option> tag. The HTML snippet is below. Specifically, I am trying to retrieve the value from the first "data-inventory-quantity (in this case,…