Update programme-tv.vini.pf

This commit is contained in:
freearhey
2023-11-26 15:24:26 +03:00
parent 5b46419c6c
commit 660f58ccf9
4 changed files with 84 additions and 8 deletions

View File

@@ -50,11 +50,13 @@ module.exports = {
.catch(console.log)
return data.programmes.map(item => {
const channelId = item.url.replace('/', '')
const site_id = item.url.replace('/', '')
const name = site_id.replace(/\-/gi, ' ')
return {
lang: 'fr',
site_id: channelId,
name: channelId
site_id,
name
}
})
}