View Single Post
EmaNymton's Avatar
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#1060
You should use a real url, the entries list is empty:
Code:
>>> import feedparser
>>> f = feedparser.parse('http://example.org/feed.rss')
>>> print f
{'feed': {}, 'bozo': 1, 'bozo_exception': URLError(gaierror(-2, 'Name or service not known'),), 'entries': []}
 

The Following User Says Thank You to EmaNymton For This Useful Post: