Skip to content

Parse boolean itunes:explicit values (true/false/no)#567

Merged
kurtmckee merged 1 commit into
kurtmckee:mainfrom
SAY-5:fix-itunes-explicit-booleans
May 14, 2026
Merged

Parse boolean itunes:explicit values (true/false/no)#567
kurtmckee merged 1 commit into
kurtmckee:mainfrom
SAY-5:fix-itunes-explicit-booleans

Conversation

@SAY-5
Copy link
Copy Markdown
Contributor

@SAY-5 SAY-5 commented May 12, 2026

The current Apple Podcasts spec defines <itunes:explicit> as a boolean (true/false), but feedparser only recognized the legacy yes/clean values and parsed everything else (including true, false, and no) as None. This maps true/yes to True and false/no/clean to False.

Closes #524

Copy link
Copy Markdown
Owner

@kurtmckee kurtmckee left a comment

Choose a reason for hiding this comment

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

Nice! Thanks!

The test suite appears to be failing for unrelated reasons. That can be investigated separately...

@kurtmckee kurtmckee merged commit df81760 into kurtmckee:main May 14, 2026
1 of 4 checks passed
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.

itunes_explicit being set to null (expected True/False)

2 participants