The rss file is shown as below, i want to get the content in section media:group . I check the document of feedparser, but it seems not mention this. How to do
You can parse the feed using
feed = feedparser.parse(your_feeds_url)
and then access your xml elements using either python's attribute access or dictionary-like access on feed
and its subelements. The former method won't work for an element name like media:content
, so use the latter method.
The rest should become clear after studying the examples at http://www.feedparser.org