Skip to content

Conversation

@shaunguimond
Copy link

@shaunguimond shaunguimond commented Dec 1, 2025

No Issue created -> New Proposed Feature (Could be considered a fix as well?)

Added user-configurable "Authenticated Feed" option for podcast downloads such as from the Verge's add-free podcast feeds.

I added a an option for a user to set a new flag isAuthenticatedFeed as I thought that doing it based on URL string values would be far too "hacky".

Previously the episode downloads would fail as the HTTP request headers were missing the ['referer'] value which is simply the feeds URL. I believe we could simply send the missing ['referer'] value into the header with no consequences and that would simplify my code. I didn't do that simply because I am not an expert on the norms around podcast feeds and certain servers 'could" reject the request if the header was unneeded. If someone has more experience I would appreciate their thoughts. Therefore the changes I made to fix the issue are:

  • Backend logic in ffmpegHelpers.js to conditionally add Referer header
  • UI components to allow users to set the flag
  • Updated Podcast model to handle the new field

I tophatted the changes and found that episode downloads worked in my instance when going through the modal for Episodes and I requested a download there, or when the CRON job would run.

I did not add a test since the initial code was not tested.

Note: Hopefully all required information is provided, please let me know if there are any issues as I tried to follow the documentation for supporting the project as best as could.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant