Do you happen to have made a script that can login to web2py?
It looks quite complex because have to manage the _formkey and login form 
uses multipart/form-data instead of application/x-www-form-urlencoded.

I have this working solution using mechanize:

br = mechanize.Browser()
br.open(login_url)
br.select_form(nr=0)
br['email'] = email
br['password'] = password
response = br.submit()


But looking for something using urllib2, and not loading a web2py specific 
library.


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to