From ec31c1c43fb5b623b7acf16059efe9329494acab Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Fri, 13 Feb 2026 15:16:28 +0100 Subject: [PATCH] Add support for itunes:complete close #183 --- src/feedvalidator/itunes.py | 3 +++ .../ext/itunes/invalid_complete_value.xml | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100755 testcases/ext/itunes/invalid_complete_value.xml diff --git a/src/feedvalidator/itunes.py b/src/feedvalidator/itunes.py index a8579e9d..c5f7a28e 100644 --- a/src/feedvalidator/itunes.py +++ b/src/feedvalidator/itunes.py @@ -11,6 +11,9 @@ def do_itunes_author(self): def do_itunes_block(self): return yesnoclean(), noduplicates() + def do_itunes_complete(self): + return yesnoclean(), noduplicates() + def do_itunes_explicit(self): return truefalse(), noduplicates() diff --git a/testcases/ext/itunes/invalid_complete_value.xml b/testcases/ext/itunes/invalid_complete_value.xml new file mode 100755 index 00000000..432747d5 --- /dev/null +++ b/testcases/ext/itunes/invalid_complete_value.xml @@ -0,0 +1,24 @@ + + + + + + + + All About Everything + http://www.itunes.com/podcasts/everything/index.html + All About Everything is a show about everything. Each week we dive into every subject known to man and talk about everything as much as we can. + + + Shake Shake Shake Your Spices + This week we talk about salt and pepper shakers, comparing and contrasting pour rates, construction materials, and overall aesthetics. + + Absolutely + + +