fix(spotify): filter removed episodes (#18456)

This commit is contained in:
Tony 2025-02-26 02:27:53 +08:00 committed by GitHub
parent ad3ba03041
commit c0ec886f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ async function handler(ctx) {
itunes_category: meta.type,
itunes_explicit: meta.explicit,
allowEmpty: true,
item: episodes.map((x) => ({
item: episodes.filter(Boolean).map((x) => ({
title: x.name,
description: x.html_description,
pubDate: parseDate(x.release_date),