diff --git a/src/services/unbody/dataTypes/PodcastEpisodeDocument.dataType.ts b/src/services/unbody/dataTypes/PodcastEpisodeDocument.dataType.ts index 96e307c..5525747 100644 --- a/src/services/unbody/dataTypes/PodcastEpisodeDocument.dataType.ts +++ b/src/services/unbody/dataTypes/PodcastEpisodeDocument.dataType.ts @@ -47,15 +47,23 @@ export const PodcastEpisodeDataType: UnbodyDataTypeConfig< const channels: LPE.Podcast.Content['channels'] = [] const credits: LPE.Podcast.Content['credits'] = [] const transcription: LPE.Podcast.Content['transcription'] = [] - const timestamps: LPE.Podcast.Content['timestamps'] = [] + const content: LPE.Podcast.Content['content'] = [] + + const allBlocks = data.content.filter((block) => { + if ( + ((block.type === 'text' && block.html) || '').match( + `