Can you also add support to parse enclosure tag ? Some rss has images as enclosure url attribute.
PrajeetShrestha opened this issue · 4 comments
PrajeetShrestha commented
Can you also add support to parse enclosure tag ? Some rss has images as enclosure url attribute.
prof18 commented
Can you provide an example of the tag?
PrajeetShrestha commented
http://www.bollywoodhungama.com/rss/news.xml here see in this url. THere are many other rss which has enclosure tag.
prof18 commented
The parser is already getting images from that tag: https://github.com/prof18/RSS-Parser/blob/master/rssparser/src/main/java/com/prof/rssparser/XMLParser.java#L87
Please update to the latest version!
PrajeetShrestha commented
You are parsing from key thumbnail, not enclosure. Some rss doesn't have thumbnail but has images and other medias in enclosure tag.
for example this: https://movieweb.com/rss/movie-reviews/