En Thu, 18 Sep 2008 10:23:50 -0300, Mohit Ranka <[EMAIL PROTECTED]>
escribió:
I am trying to fetch HTML content from a website that has
different version of pages for "logged" users and "guseuests" users. I
need
to fetch the "logged" user pages. The problem is, even with the use of
basic
authentication, I am getting "guest" user page with urllib2.urlopen. The
code can be seen here.
http://pastebin.com/m7301084a
Any suggestions/pointers/solutions?
Your second call to urllib2.install_opener completely replaces the former
opener; you should combine both handlers before installing ONE opener.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list