You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It adds an item.enclosures property which is an array of all enclosures. Additionally it adds a couple of obscure enclosure tags to the same list ppg:enclosureSecure and ppg:enclosureLegacy which are used at least by the BBC for some of their podcasts.
You can install now with:
npm i git+https://github.com/rhyst/rss-parser.git
I need to parse an RSS to JSON which has multiple enclosure tags within an item
My resulted JSON Object only has a single enclosure object instead of an array.
I tried using keepArray option already but it still happens.
It seems it gets overwritten in parser.js
rss-parser/lib/parser.js
Line 214 in 2ea1d8f
It's hard coded taking only the first enclosure item
The text was updated successfully, but these errors were encountered: