[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
Hello,
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
http://paste.lisp.org/display/92656
Here is what I have so far:
http://paste.lisp.org/+1ZHS/1
>>> print results
But the page returned prints out that the session is out of time.
Here are details of the forms:
http://paste.lisp.org/+1ZHS/2
Any help much appreciated.
Norman
More information about the Tutor
mailing list