我想选择一个输入。唯一的问题是:MechanicalSoup 只是通过尝试选择表单之外的输入给我一个错误。
代码:
import mechanicalsoup
br = mechanicalsoup.StatefulBrowser()
br.open('https://outlook.live.com/owa/?nlp=1')
print(br.get_url())
br.['loginfmt'] = '****************************'
br.submit_selected()
#Is here that my program gives a error, and there i stopped. (I edited the email.)