Skip to content

fix: use custom user-agent and add Accept headers when fetching rss#322

Open
rudism wants to merge 1 commit into
akhilrex:masterfrom
rudism:patched
Open

fix: use custom user-agent and add Accept headers when fetching rss#322
rudism wants to merge 1 commit into
akhilrex:masterfrom
rudism:patched

Conversation

@rudism

@rudism rudism commented Mar 22, 2026

Copy link
Copy Markdown

Previously the configured custom user agent was only used when downloading files and not the actual podcast feed RSS, this commit fixes that (user agent is applied in both cases). Also added an Accept: */* header, since a lot of servers give 403/forbidden or other opaque errors when its missing.

This fixes several feeds for me and likely addresses these issues (and maybe more):

closes #303, closes #225, closes #182, closes #313, closes #312

If anyone wishes to use this patch prior to being merged (as it seems development has slowed or stalled here), I have published a podgrab image with this patch applied that you can use as a drop-in replacement for the official docker image at ghcr.io/rudism/podgrab:latest

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

Labels

None yet

Projects

None yet

1 participant