cookie lib policy how-tp?

Jonathan Ellis jbellis at gmail.com
Tue Dec 7 17:07:07 CET 2004


Riko Wichmann wrote:
>
> When I use opera to access this page by hand and look at the sources,
I
> see the full sources when letting opera identify itself as MSIE 6.0.
> When using Mozilla 5.0 I get the same in-complete source file as with

> python.

Sounds like your first step should be to identify yourself as IE.

opener = urllib2.build_opener(...)
opener.addheaders = [("User-Agent", "whatever IE calls itself these
days")]

-Jonathan




More information about the Python-list mailing list