0

I need to open a webbrowser using python watch the email and password populate in the form, programmatically submit the form and keep the cookies while navigating through the web site. Any help would be greatly appreciated.

4
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by woooee
0

Try mechanize and see if it will work for you. An example.

I tested the Mechanize sample code and it prints the html out in the python shell but I need to open the browser and view the web page. What am I doing wrong with this?

0

go to this link.
http://beaker.groovie.org/index.html

As python was not 100% made for web development like php etc...
for sessions and cookies.... Python is more towards sofware development

Download the module and easy-install it. You can just use it. very handy

Edited by richieking: n/a

0

Try urllib, urllib2. I've done it. All you need is to POST the data via urllib or urllib2 (can't remember which), and use cookiejar to store the cookie.

1

It appears that the OP wants to open a web browser, i.e. subprocess.call("firefox"), and then submit some data after some period of time from a running program, which is beyond my knowledge. AFAIK you either do everything in the program or everything in the browser, especially if the page is changing.

Edited by woooee: n/a

Votes + Comments
good point
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.