Add NostrTalk

This commit is contained in:
Dennis Reimann
2023-11-19 09:46:12 +01:00
parent b20ad80390
commit 63875a3b90
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@@ -52,6 +52,7 @@ const parseEpisode = e => {
if (categoryName === 'On-Tour') categoryName = 'On Tour' if (categoryName === 'On-Tour') categoryName = 'On Tour'
if (categoryName === 'Buchclub') categoryName = 'Lesestunde' if (categoryName === 'Buchclub') categoryName = 'Lesestunde'
if (categoryName === 'reCATion') categoryName = 'Verschiedenes' if (categoryName === 'reCATion') categoryName = 'Verschiedenes'
if (categoryName === 'NostrTalk') categoryName = 'Verschiedenes'
const firstLine = description.split('\n')[0] const firstLine = description.split('\n')[0]
const blockMatch = firstLine.match(/Blockzeit\s(\d+)/) const blockMatch = firstLine.match(/Blockzeit\s(\d+)/)
const block = blockMatch ? parseInt(blockMatch[1]) : null const block = blockMatch ? parseInt(blockMatch[1]) : null