fix: fix episode channels parser

This commit is contained in:
Hossein Mehrabi 2023-08-22 14:39:08 +03:30
parent 026b80d1f6
commit 9c1600c36d
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ const getDistributionChannels = async (blocks: LPE.Post.TextBlock[]) => {
} }
const linkBlocks = blocks.filter((block) => const linkBlocks = blocks.filter((block) =>
/^(https):\/\/[^ "]+$/.test(block.text), /^(https):\/\/[^ "]+$/.test((block.text || '').trim()),
) )
for (const block of linkBlocks) { for (const block of linkBlocks) {