我想选择一个输入。唯一的问题是: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.)