mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
Handle reCATion episodes
This commit is contained in:
@@ -51,6 +51,7 @@ const parseEpisode = e => {
|
||||
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
||||
if (categoryName === 'On-Tour') categoryName = 'On Tour'
|
||||
if (categoryName === 'Buchclub') categoryName = 'Lesestunde'
|
||||
if (categoryName === 'reCATion') categoryName = 'Verschiedenes'
|
||||
const firstLine = description.split('\n')[0]
|
||||
const blockMatch = firstLine.match(/Blockzeit\s(\d+)/)
|
||||
const block = blockMatch ? parseInt(blockMatch[1]) : null
|
||||
|
||||
Reference in New Issue
Block a user