"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
[...]
> Are the docs themselves in subversion? I suppose I should also update
> the doc at http://docs.python.org/lib/module-urllib2.html
Yep:
http://svn.python.org/projects/python/trunk/Doc/lib/liburllib2.tex
John
--
http://mail.python.org/mail
On Jul 10, 11:10 pm, [EMAIL PROTECTED] (John J. Lee) wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > urllib2.build_opener happily accepts and ignores a FileCookieJar.I
> > had a bug in my code which looked like
>
> > urllib2.build_opener(
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> urllib2.build_opener happily accepts and ignores a FileCookieJar.I
> had a bug in my code which looked like
>
> urllib2.build_opener(func_returning_cookie_jar())
>
> which should have been
>
>
urllib2.build_opener happily accepts and ignores a FileCookieJar.I
had a bug in my code which looked like
urllib2.build_opener(func_returning_cookie_jar())
which should have been
urllib2.build_opener(HTTPCookieProcessor(func_returning_cookie_jar())
The problem is that the code ran happily
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my
environ['HOME']= r"C:\tmp\COOKIE"
#
cj.load(os.path.join(os.environ["HOME"], "cookies.txt"))
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
r = opener.open("http://brokerjet.ecetra.com/at/news/?/";)
Traceback (most recent call last)