mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2026-03-25 09:58:44 +00:00
Update fetch_feed.js
This commit is contained in:
@@ -30,7 +30,7 @@ const parseEpisode = e => {
|
||||
const description = replacements(e.description.__cdata).trim()
|
||||
const descriptionPlain = stripHTML(description)
|
||||
let [, categoryName = 'News', number, titlePlain] = title.match(
|
||||
/([\w\s]+?)?\s?#(\d+) - (.*)/
|
||||
/([\w\s]+?)?\s?#?(\d+(?:\.)?\d+) - (.*)/
|
||||
) || [, , , title]
|
||||
if (!number) categoryName = 'Verschiedenes'
|
||||
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
||||
|
||||
Reference in New Issue
Block a user