mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 17:40:07 -04:00
Update telenettv.be.config.js
This commit is contained in:
parent
e9c8f9c286
commit
3f50fb137a
1 changed files with 33 additions and 33 deletions
|
@ -5,6 +5,7 @@ const API_ENDPOINT = `https://obo-prod.oesp.telenettv.be/oesp/v4/BE/eng/web`
|
|||
|
||||
module.exports = {
|
||||
site: 'telenettv.be',
|
||||
ignore: true, // INFO: Request failed with status code 404 (Not Found)
|
||||
url: function ({ date }) {
|
||||
return `${API_ENDPOINT}/programschedules/${date.format('YYYYMMDD')}/1`
|
||||
},
|
||||
|
@ -94,7 +95,7 @@ function parseCategory(detail) {
|
|||
let categories = []
|
||||
detail.program.categories.forEach(category => {
|
||||
categories.push(category.title)
|
||||
});
|
||||
})
|
||||
return categories
|
||||
}
|
||||
|
||||
|
@ -105,4 +106,3 @@ function parseCategory(detail) {
|
|||
function parseEpisode(detail) {
|
||||
return detail.program.seriesEpisodeNumber || null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue