amugofjava / podcast_search

A simple library providing programmatic access to the iTunes search API for podcasts.
MIT License
41 stars 26 forks source link

How to get the feed guid from Podcast.loadFeed result? #15

Closed arnab closed 1 year ago

arnab commented 1 year ago

See the Podcast Feed GUID spec.

The Podcast.loadFeed method returns a Podcast object, which does not seem to have any guid property.

How can we use this library to get to the guid from the RSS feed of a Podcast?

amugofjava commented 1 year ago

The guid tag was added in phase 3 of the Podcast namespace and I am still implementing phase 2 tags in podcast_search so guid has not been implemented yet.

guid is a simple tag, so I can bring its implementation forward if you need it in your project?

arnab commented 1 year ago

That would be awesome indeed (getting it added quickly).

Meanwhile - do you recommend any workarounds (just parsing them RSS feed with a general purpose parser)?

amugofjava commented 1 year ago

I've pushed a new release, v0.6.2, that supports the guid tag. Please give it a try and let me know if this fixes the issue for you.