Quantcast
Channel: Accessing "content" attribute in feedparser - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Accessing "content" attribute in feedparser

$
0
0

I'm using feedparser in Python to parse a remote xml feed. Results include the typical title/link/published/etc, however there is also a "content" tag that has the following value. How can I access the value attribute?

[{'base': u'http://url.com', 'type': u'text/html', 'value': u'<p>html text etc', 'language': None}]

I haven't seen any arrays looking like [{}] before.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images