Skip to content

Fix: Use specific episode URL instead of channel URL - #32

Open
h6y3-aegis wants to merge 1 commit into
zarazhangrui:mainfrom
h6y3-aegis:fix/podcast-episode-url
Open

Fix: Use specific episode URL instead of channel URL#32
h6y3-aegis wants to merge 1 commit into
zarazhangrui:mainfrom
h6y3-aegis:fix/podcast-episode-url

Conversation

@h6y3-aegis

Copy link
Copy Markdown

Bug

The podcast feed was using the channel URL from config (e.g., youtube.com/@NoPriorsPodcast) instead of the specific episode URL from RSS. This caused all "Listen" links to point to the channel page rather than the actual episode.

Example

Before: https://www.youtube.com/@NoPriorsPodcast (channel page)
After: https://youtube.com/watch?v=Iu4gEnZFQz8 (specific episode)

Fix

Changed line 257 in scripts/generate-feed.js:

The selected.link field already contains the episode URL from RSS parsing (line 168), so we just needed to use it instead of the channel URL.

Testing

The RSS parser extracts episode URLs correctly — this was a one-line fix to use the right field.

The podcast feed was using the channel URL from config (e.g., youtube.com/@NoPriorsPodcast)
instead of the specific episode URL from RSS. This caused all podcast links to point to
the channel page rather than the actual episode.

Fix: Use selected.link (episode URL from RSS) instead of selected.podcast.url (channel URL)
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