0

I run the command:

feed = feedparser.parse('http://www.reddit.com/r/python/.rss') 
print    feed

and get the error message:

{'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None, 'entries': [], 'bozo_exception': URLError(error(10060, 'Operation timed out'),)}

I can get the page in IE.

Did any one encountered this problem and managed to solve it?

Eduard Luca
  • 6,514
  • 16
  • 85
  • 137
Moti
  • 1
  • 1
  • You're not behind a firewall or something corporate that would block access? – Noel Evans Oct 22 '14 at 11:38
  • (If this is the case IE will work fine because the support guys will have configured a proxy) – Noel Evans Oct 22 '14 at 11:40
  • Yes there is a FW of McAfee. – Moti Oct 22 '14 at 12:43
  • You will need to configure the feedparser to deal with the proxy too then. Try the solution here: http://stackoverflow.com/questions/16031969/not-able-to-parse-rss-feeds – Noel Evans Oct 22 '14 at 13:27
  • I tryed the solution and now i get the error message:{'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None, 'entries': [], 'bozo_exception': InvalidURL("nonnumeric port: 'port'",)} – Moti Oct 22 '14 at 14:24
  • What have you specified for the port? It seems like you're using a string rather than a number – Noel Evans Oct 22 '14 at 14:29

0 Answers0