Hi everyone,
I have a python question i would like to ask.
Im trying to write a script to login to a website and mirror it. I need
to submit a post request to /login.php which is fine, but how can i
access other pages on the site.
For example
data = urllib.urlencode({"username" : "myUser", "password" :
"myPass"})
urllib.urlopen("http://www.example.com/login.php", data)
page = urllib.urlopen("http://www.example.com/page_on_site.html")
when look "page" it is just showing me login.php
Thanks for any advice you can give.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor