"John Bradbury" <john_bradbury@___cableinet.co.uk> writes:
> "Rene Pijlman" <> wrote in
> message news:...
> > John Bradbury:
> > >I am trying to develop a special putpose crawler using htmllib & urllib.
> > >How do you tell the server application that you are a modern browser
> > >and can handle frames?
[...]
> > server would care, but you could mimic the User-agent header sent by a
[...]
> I don't know what is causing the problem, but the site I am accessing is
> sending out forms for a browser that has a low resolution and does not
> support frames. Excuse my ignorance, but where do you set up the
> User-agent header you suggested.
For urllib2 (well, almost):
http://wwwsearch.sourceforge.net/Cli...c.html#headers
John