[Solved] How to get data from a combobox using Beautifulsoup and Python?
[ad_1] From what I can see of the html, there is no span with id=”sexo- button”, so BeautifulSoup(login_request.text, ‘lxml’).find(“span”,id=”sexo- button”) would have returned None, which is why you got the error from get_text. As for your second attempt, I don’t think bs4 Tags have a value property, which is why you’d be getting None that … Read more