Re: Impersonating other broswers...

2005-03-05 Thread Eric Pederson
Skip Montanaro <[EMAIL PROTECTED]> wrote > It doesn't look any easier to do this using urllib2. Seems like a > semi-obvious oversight for both modules. That suggests few people have > ever > desired this capability. my $.02: I have trouble believing few people have not desired this for two r

Re: Impersonating other broswers...

2005-03-05 Thread Skip Montanaro
sboyle> I'm using urlopen, and it works fine. But I'd like to be able sboyle> to change my browser string from "Python-urllib/1.15" to instead sboyle> impersonate Internet Explorer. sboyle> I know this can be done very easily with Perl, so I'm assuming sboyle> it's also easy

Re: Impersonating other broswers...

2005-03-05 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > So I wrote a quick python program (my first ever) that needs to > download pages off the web. > > I'm using urlopen, and it works fine. But I'd like to be able to > change my browser string from "Python-urllib/1.15" to instead > impersonate Internet Explorer. > > I kn