[Tutor] using mechanize to authenticate and pull data out of site

Norman Khine norman at khine.net
Sat Dec 26 16:46:18 CET 2009


I am trying to authenticate on http://commerce.sage.com/Solidarmonde/
using urllib but have a problem in that there are some hidden fields
that use javascript to create a security token which then is passed to
the submit button and to the header.

Here is the output of the LiveHeader during authentication


Here is what I have so far:


>>> print results
But the page returned prints out that the session is out of time.

Here are details of the forms:


Any help much appreciated.


More information about the Tutor mailing list