Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77467
| From | dieter <dieter@handshake.de> |
|---|---|
| Subject | Re: urllib2 redirect error |
| Date | 2014-09-03 08:29 +0200 |
| References | <mailman.13708.1409638130.18130.python-list@python.org> <540571b8$0$29876$c3e8da3$5496439d@news.astraweb.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13725.1409725798.18130.python-list@python.org> (permalink) |
Steven D'Aprano <steve@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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
urllib2 redirect error Sumit Ray <sumitbu.ray@gmail.com> - 2014-09-02 02:08 -0400
Re: urllib2 redirect error Steven D'Aprano <steve@pearwood.info> - 2014-09-02 07:28 +0000
Re: urllib2 redirect error dieter <dieter@handshake.de> - 2014-09-03 08:29 +0200
Re: urllib2 redirect error Sumit Ray <sumitbu.ray@gmail.com> - 2014-09-06 09:24 -0700
csiph-web