Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-27 Thread kracekumar ramaraju
Hi Try requests, this is possible with it, use authentications in requests. On Tue, Dec 27, 2011 at 9:28 PM, Nikunj Badjatya nikunjbadja...@gmail.comwrote: Noufal, I tried with : {{{ import urllib, urllib2, cookielib username = 'xxx' password = 'xxx' savepage = open('output.html',

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-27 Thread Nikunj Badjatya
Noufal, I tried with : {{{ import urllib, urllib2, cookielib username = 'xxx' password = 'xxx' savepage = open('output.html', 'w') #cj = cookielib.CookieJar() #opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-27 Thread Noufal Ibrahim
Nikunj Badjatya nikunjbadja...@gmail.com writes: [...] The link in the 'resp' is true to my knowledge. I checked it by logging in at diff times. Its coming the same every time and it is the link behind 'Account Information' which comes on the front page after logging in. When I open

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-27 Thread Sriram Narayanan
Alternatively, try Sahi. (http://sahi.co.in). There's an open source version available for download and use. -- Ram On 12/27/11, Noufal Ibrahim nou...@gmail.com wrote: Nikunj Badjatya nikunjbadja...@gmail.com writes: [...] The link in the 'resp' is true to my knowledge. I checked it by

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-22 Thread Noufal Ibrahim
Nikunj Badjatya nikunjbadja...@gmail.com writes: Hi All, I am trying to use Python power in my daily life. Do you have Airtel Broadband Connection ? YES / NO ? In either case..read on. ! I am trying to write a script which will automatically login to Airtel page

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-22 Thread Saager Mhatre
On Thu, Dec 22, 2011 at 10:27 PM, Noufal Ibrahim nou...@gmail.com wrote: [snip] The Python stdlib can handle this using urllib2 and cookielib. I've managed something like this here https://gist.github.com/3811b566df4005a012c7which you can use as a starting point. After this, you have a