Fix generated url

This commit is contained in:
Michaël Arnauts
2026-01-26 11:55:09 +01:00
parent c36baa3077
commit 37e478b423

View File

@@ -14,7 +14,7 @@ module.exports = {
}
},
url: function ({ date, channel }) {
return `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDDHHmmss')}`
return `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDD')}000000`
},
async parser({ content, channel, date }) {
let programs = []