On Fri, Mar 19, 2010 at 7:33 AM, richard west <richardbw...@gmail.com>wrote:
> Hi, > > Im trying to use python to open up a password protected website(e.g. > facebook / gmail) in Firefox. supplying the login and password automatically > at runtime - so that I can interface my code with fingerprint recognition > code. So far I have only found urllib, urllib2 and web browser, none of > which I have been able to use. > > urllib2 can log me in, but then I cant pass this authenicated login to the > browser. At the very least I need to be able to send the form post > information to the browser via my code, and preferably auto-submit the form. > > Does anybody have any ideas? Check the tamper data plugin for firefox. I think that's the one. It should help you get the types of parameters, etc. that are actually passed to the website. Then I think you can use urllib2's variety of methods to connect to the site. HTH, Wayne
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor