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

Authorisation support #44

Open
lacamar opened this issue Jan 15, 2022 · 2 comments
Open

Authorisation support #44

lacamar opened this issue Jan 15, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@lacamar
Copy link

lacamar commented Jan 15, 2022

Would it be possible to add support for podcasts that require authorisation with a username and password?

I am currently trying this with a podcast and it works partially when I insert the username and password in the beginning of the URL (i.e. https://username:[email protected]/rss). This allows the feed to load, but downloads and streams require a verification too, which I cannot find a way to provide via shellcaster. It may be possible with certain hooks but I am not sure.
When I try to stream or download the episodes, it just leads to a 401 error code from the server.

@jeff-hughes
Copy link
Owner

Interesting, that's not a situation I've come across. I'm presuming this is some sort of a "subscribers-only" feed offered only for supporters, or perhaps a feed that's internal to an organization or something.

If you're trying to download/stream an episode, how would you perform the verification there? By inputting the same sort of URL pattern? Based on what you're describing, it sounds like the RSS feed providing generic URLs to you that don't have the same verification inserted. In other words, it's giving back a list of episodes like so:

rather than:

Have you used other podcast managers that handle this properly? And if so, what do they do -- pop up a login prompt or something when you try to download/stream an episode?

@jeff-hughes jeff-hughes added the enhancement New feature or request label Jan 16, 2022
@lacamar
Copy link
Author

lacamar commented Jan 17, 2022

With the feed, it comes via a link to an mp3 like your first set of examples and if it is opened in a browser a system window will appear that has a username and password field.
Taking one of these links straight from the feed and inserting the username and password string exactly like your second example satisfies the authentication and the mp3 will load, either in a browser or via mpv.

GPodder has a system for handling this, when adding the podcast via the usual feed URL (no username or password) it will open a dialogue similar to what you would see in the browser, a simple username and password field. You enter the details once and that's it.
I haven't looked at how it works under the hood, but trying the podcast feed in GPodder works and the episodes are downloadable.

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

No branches or pull requests

2 participants