Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending rss parsing for rough Podcast support #4

Merged
merged 5 commits into from
Apr 13, 2021
Merged

Extending rss parsing for rough Podcast support #4

merged 5 commits into from
Apr 13, 2021

Conversation

elreydetoda
Copy link
Contributor

Hello, thanks for this awesome project! 🙂

I recently used it as a part of grabbing and parsing rss feeds in one of my projects, and while using it I ended up adding some overrides for the parser. Just so I could access specific values for the podcasts ( i.e. where to find their media to play, and their cover art for the episode ( which defaults to the overarching cover art of the podcast if there isn't one ) ).

There might be a more official way to grab the image, but I couldn't figure one out ( not really a python dev, and definitely not very acquainted with xml & parsing ). So, you might want to look this section over

https://github.com/elreydetoda/rss-parser/blob/ccae7b9eb92af958da3d118424025558a90c9272/rss_parser/_parser.py#L18-L26

and it was added because of this section:

https://github.com/elreydetoda/rss-parser/blob/ccae7b9eb92af958da3d118424025558a90c9272/rss_parser/_parser.py#L70-L75

This definitely comprehensive podcast support, but I was just grabbing the small things that I was using so far. Just figured I would toss it your way if you want it. If not, I already have my overrides 🙂

@dhvcc dhvcc added the enhancement New feature or request label Apr 13, 2021
@dhvcc dhvcc self-requested a review April 13, 2021 08:16
Copy link
Owner

@dhvcc dhvcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one 👍

@dhvcc
Copy link
Owner

dhvcc commented Apr 13, 2021

Thanks for the PR and a really good explanation of the feature, well done :)

@dhvcc dhvcc merged commit d28ef06 into dhvcc:master Apr 13, 2021
@elreydetoda
Copy link
Contributor Author

Awesome! Thank you, and thanks for the library in the first place again 🙏 it helped out a lot.🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants