KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Calling urrlib2.urlopen on a link to an article fetched from an RSS feed leads to the following error: urllib2.HTTPError: HTTP Error 301: The HTTP server returned a redirect error tha t would lead to an infinite loop. The last 30x error message was: Moved Permanently According to the documentation, urllib2 supports redirects. On Java the problem was solved by just calling HttpURLConnection.setFollowRedirects(true); How can I solve it with Python? UPDATE The link I'm having problems with: http://feeds.nytimes.com/click.phdo?i=8cd5af579b320b0bfd695ddcc344d96c
Tags (comma-separated)
Save Edits
Cancel