Re: using urllib, urllib2 , mechanize to access password protected site

2007-07-01 Thread John J. Lee
comeshopcheap <[EMAIL PROTECTED]> writes: > Hi > > I am using this script to access doba.com (I need to download some > files) but I keep on being sent back to the login page not the user > home page. Any help. I think I may need to use a post method and > opener is using a get method > > Thanks >

using urllib, urllib2 ,mechanize to access password protected site

2007-06-28 Thread comeshopcheap
Hi I am using this script to access doba.com (I need to download some files) but I keep on being sent back to the login page not the user home page. Any help. I think I may need to use a post method and opener is using a get method Thanks import mechanize cookies = mechanize.CookieJar() # build_