Closed GoogleCodeExporter closed 9 years ago
sorry for some typo..
> it should returned disctionary
>* it should have returned a dictionary..
This would solve problems in parsing if this issue gets fixed..
Thanks,
Prashant C
Original comment by prashantchaudharry@gmail.com
on 1 Oct 2009 at 3:27
>>> import feedparser
>>> news_rss_url = "http://rss.ent.yahoo.com/movies/thisweek.xml"
>>> f = feedparser.parse(news_rss_url)
>>> f.entries[0].media_thumbnail
[{'url':
u'http://l.yimg.com/eb/ymv/us/img/hv/photo/movie_pix/sony_pictures_classics/th
e_white_ribbon/thewhiteribbon_smallposter-th.jpg', 'width': u'50', 'height':
u'74'}]
The above code does what you want with the current version of the codebase.
We now preserve attributes in namespaced elements.
Please file a separate bug about the lack of support for repeated namespaced
elements
Original comment by adewale
on 27 Dec 2009 at 11:57
Thanks :)
Original comment by prashantchaudharry@gmail.com
on 28 Dec 2009 at 9:42
Original issue reported on code.google.com by
prashantchaudharry@gmail.com
on 1 Oct 2009 at 3:23