Re: Web authentication urllib2

2009-01-24 Thread Scott David Daniels
Gabriel wrote: Yep, i realize this a minute after posting, sorry. And thank you again .) Steve Holden wrote: ... I'll offer a couple of pointers about what we all expect here. Please treat this as advice, not a shout of disapproval. (1) Do not top post (put your response above the previous i

Re: Web authentication urllib2

2009-01-24 Thread Steve Holden
Gabriel wrote: > Yep, i realize this a minute after posting, sorry. > > And thank you again .) > A pleasure. Next time, you might consider posting an explanation along with the "it's working now" message, just to give closure to the thread for anyone who ends up reading it later after a search.

Re: Web authentication urllib2

2009-01-24 Thread Gabriel
Yep, i realize this a minute after posting, sorry. And thank you again .) Steve Holden wrote: Gabriel wrote: First, thank you both I think this isn't basic auth, because this page has form login. I read site's html source and used wireshark to analyze communication between my browser and webs

Re: Web authentication urllib2

2009-01-24 Thread Steve Holden
Gabriel wrote: > First, thank you both > > I think this isn't basic auth, because this page has form login. > I read site's html source and used wireshark to analyze communication > between my browser and website and i really find out that a was ignoring > one field > > I added it to the paramete

Re: Web authentication urllib2

2009-01-24 Thread Gabriel
Oh, nevermind, it's working. Thanks Gabriel wrote: First, thank you both I think this isn't basic auth, because this page has form login. I read site's html source and used wireshark to analyze communication between my browser and website and i really find out that a was ignoring one field

Re: Web authentication urllib2

2009-01-24 Thread Gabriel
First, thank you both I think this isn't basic auth, because this page has form login. I read site's html source and used wireshark to analyze communication between my browser and website and i really find out that a was ignoring one field I added it to the parameters but it didn't help.. May

Re: Web authentication urllib2

2009-01-24 Thread Steve Holden
Gabriel wrote: > Hello, > > I'm new in Python and i would like to write script which need to login > to a website. I'm experimenting with urllib2, > especially with something like this: > > opener = urllib2.build_opener(urllib2.HTTPCookieProcessor()) > urllib2.install_opener(opener) > >

Re: Web authentication urllib2

2009-01-24 Thread Gabriel Genellina
En Sat, 24 Jan 2009 06:52:57 -0200, Gabriel escribió: I'm new in Python and i would like to write script which need to login to a website. I'm experimenting with urllib2, especially with something like this: opener = urllib2.build_opener(urllib2.HTTPCookieProcessor()) urllib2.insta

Web authentication urllib2

2009-01-24 Thread Gabriel
Hello, I'm new in Python and i would like to write script which need to login to a website. I'm experimenting with urllib2, especially with something like this: opener = urllib2.build_opener(urllib2.HTTPCookieProcessor()) urllib2.install_opener(opener) params = urllib.urlencode(di