-
Notifications
You must be signed in to change notification settings - Fork 214
Multiple enclosure tags get overwritten #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you find another solution @black-hawk85? I want to parse and display images, which are referenced with RSS enclosure. |
Unfortunately I had to use another lib for that. It works with rss-to-json-v2 |
I have fixed this in a fork: https://github.com/rhyst/rss-parser and PR #282 It adds an You can install now with:
|
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: