prof18 / RSS-Parser

A Kotlin Multiplatform library to parse a RSS Feed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i get the enclosure content?

SkyD666 opened this issue · comments

Is your feature request related to a problem? Please describe.
the type of the enclosure is "application/x-bittorrent", i want to get the content.

<enclosure url="xxx.torrent" length="0" type="application/x-bittorrent"/>

Describe the solution you'd like
Please provide a more general parsing solution for enclosure

Hi!

I will think about adding this custom field.

FYI I've just made a very ad-hoc change for my own use :)
berberman@846e24c

Amazing! I'll take a look at it, and see if it makes sense to upstream it!

@berberman Would you mind opening a PR with your changes? I want to add and expand the feature and would love to have your contribution!

Yes, though I'm not sure if my changes will break the paradigm/design of the current code base.

no worries, I'll adapt it if necessary