On Aug 1, 2008, at 12:39 AM, Federo wrote:
Below is problem I am unable to solve. I would appreciate your
advice or
even better code sample. The problem is URL authorisation. I try to
approaches
but no luck so far. Two problems:
1.) Being able to logon using Python code
2.) Being able to send data to a form and get back server reply
While it's possible to cobble together something using urllib and
htmlparser, you're much better off using mechanize. It's basically
an entire browser in a library. It handles http authentication,
cookies, form processing, etc.
For more details check out the project's page at:
http://wwwsearch.sourceforge.net/mechanize/
- Jeff Younker - [EMAIL PROTECTED] -
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor