urllib2 redirect error
sumitbu.ray at gmail.com
Sat Sep 6 18:24:26 CEST 2014
Thank you! User advice was on point.
On Tue, Sep 2, 2014 at 11:29 PM, dieter <dieter at handshake.de> wrote:
> Steven D'Aprano <steve at pearwood.info> writes:
> > ...
> > I'm not an expert, but that sounds like a fault at the server end. I just
> > tried it in Chrome, and it worked, and then with wget, and I get the same
> > sort of error:
> > ...
> > Sounds like if the server doesn't recognise the browser, it gets
> > confused and ends up in a redirect loop.
> > You could try setting the user-agent and see if that helps:
> Excellent analysis and advice.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list