linux - Python Mechanize Form submit -
i trying log web-page member number (medlemsnummer) , postal code (postnummer) mechanize.
br = browser() br.open('http://www.bokklubben.no/samboweb/medlem/minside.do') br.select_form(nr=1) br.form['logginn'] = '123456' br.form['passord'] = '0202' br.submit()
it seems it's loading , nothing happening.
the form has name, loginform
. should select so:
br.select_form("loginform")
also name of first form field login
not logginn
use
br.form['login'] = '123456'
Comments
Post a Comment