br.open('https://id.arduino.cc/auth/login/')
br.select_form(nr=0)
br.form['username'] = 'username'
br.form['password'] = 'password.'
br.submit()
print(br.response().read())
How to scrape a website which requires login using python and beautifulsoup?