fix: fix episode channels parser
This commit is contained in:
parent
026b80d1f6
commit
9c1600c36d
|
@ -144,7 +144,7 @@ const getDistributionChannels = async (blocks: LPE.Post.TextBlock[]) => {
|
|||
}
|
||||
|
||||
const linkBlocks = blocks.filter((block) =>
|
||||
/^(https):\/\/[^ "]+$/.test(block.text),
|
||||
/^(https):\/\/[^ "]+$/.test((block.text || '').trim()),
|
||||
)
|
||||
|
||||
for (const block of linkBlocks) {
|
||||
|
|
Loading…
Reference in New Issue