Have you watched a feed from Google News?
Each feed has a root element that contains a bunch of information and actual dict entries. Here is a dirty way to see what is available:
import feedparser d = feedparser.parse('http://news.google.com/news?pz=1&cf=all&ned=ca&hl=en&topic=w&output=rss') print [field for field in d]
From what we see, we have an entries field, which most likely contains .. news entries! If you:
import pprint pprint.pprint(entry for entry in d['entries'])
We will get additional information :) This will show you all the fields associated with each entry, in fairly printed form (what pprint is for)
So, to get all our news headlines from this feed:
titles = [entry.title for entry in d['entries']
So play with that. Hope it's helpful to get started
source share