rss-parser icon indicating copy to clipboard operation
rss-parser copied to clipboard

Can't access media:thumbnail

Open adamkhan opened this issue 4 years ago • 2 comments

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.

adamkhan avatar Oct 06 '19 17:10 adamkhan

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

rbren avatar Oct 15 '19 13:10 rbren

any update on this one?

Nithur-M avatar Jul 12 '22 13:07 Nithur-M