HaveF / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Feedparser merges itunes:category with itunes:keywords into 'tags' #354

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
import feedparser
f = 
feedparser.parse("http://podcastfeeds.nbcnews.com/audio/podcast/MSNBC-NN-NETCAST
-M4V.xml")
f['feed']['tags']

What is the expected output? What do you see instead?
Expected output:
[{'label': None,
  'scheme': u'http://www.itunes.com/',
  'term': u'News & Politics'}]

Instead we get:

[{'label': None,
  'scheme': u'http://www.itunes.com/',
  'term': u'william,bryan,world,politics,political,government,congress,president,campaign,policy,war,information'},
 {'label': None,
  'scheme': u'http://www.itunes.com/',
  'term': u'News & Politics'}]

What version of the product are you using? On what operating system?

Linux, 5.1.1.

Original issue reported on code.google.com by tarjei.h...@gmail.com on 8 May 2012 at 11:19

GoogleCodeExporter commented 9 years ago

Original comment by kurtmckee on 28 May 2012 at 3:14