general login debuggin tips:
inspect the html your get back from br.submit() like this
html = br.submit().read()
see if it contains anything indicating the login failed or succeeded.
Do the login in chrome with the developer tools enabled to see the exact request chain that is sent to the server. You can then duplicate that in the recipe using mechanize.Request, see for example the builtin wsj recipe
|