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 description = replacements(e.description.__cdata).trim()
|
||||||
const descriptionPlain = stripHTML(description)
|
const descriptionPlain = stripHTML(description)
|
||||||
let [, categoryName = 'News', number, titlePlain] = title.match(
|
let [, categoryName = 'News', number, titlePlain] = title.match(
|
||||||
/([\w\s]+?)?\s?#(\d+) - (.*)/
|
/([\w\s]+?)?\s?#?(\d+(?:\.)?\d+) - (.*)/
|
||||||
) || [, , , title]
|
) || [, , , title]
|
||||||
if (!number) categoryName = 'Verschiedenes'
|
if (!number) categoryName = 'Verschiedenes'
|
||||||
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
if (categoryName === 'Der-Weg') categoryName = 'Der Weg'
|
||||||
|
|||||||
Reference in New Issue
Block a user