Adds the number of days to config.js

This commit is contained in:
Aleksandr Statciuk 2023-01-10 12:40:01 +03:00
parent 6dea9e4efd
commit f97f1b55c9
158 changed files with 166 additions and 6 deletions

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'chaines-tv.orange.fr',
days: 2,
url({ channel, date }) {
return `https://rp-ott-mediation-tv.woopic.com/api-gw/live/v3/applications/STB4PC/programs?groupBy=channel&includeEmptyChannels=false&period=${date.valueOf()},${date
.add(1, 'd')