rss-parser
rss-parser copied to clipboard
Can't access media:thumbnail
Hi, any feeds using the media:thumbnail
tag fail to provide the url — inspecting the object, I get "$": undefined
.
If I rename the tag within the feed itself to e.g. enclosure
then it works just fine — inspecting the object, I get url: "http[etc]"
.
But when configuring the parser by setting customFields: item: [ ['media:thumbnail', 'enclosure']
(which I figure would do the same thing) it does not work; the content is now in enclosure
but is also "$": undefined
.
I think this is because url
is an attribute, rather than a child tag.
Would be happy to accept a PR that adds support for media:thumbnail
any update on this one?