diff --git a/sites/orange.fr/orange.fr.config.js b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr.config.js similarity index 97% rename from sites/orange.fr/orange.fr.config.js rename to sites/chaines-tv.orange.fr/chaines-tv.orange.fr.config.js index 2664c590..4597fdc5 100644 --- a/sites/orange.fr/orange.fr.config.js +++ b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr.config.js @@ -1,7 +1,7 @@ const dayjs = require('dayjs') module.exports = { - site: 'orange.fr', + site: 'chaines-tv.orange.fr', 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') diff --git a/sites/orange.fr/orange.fr.test.js b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr.test.js similarity index 89% rename from sites/orange.fr/orange.fr.test.js rename to sites/chaines-tv.orange.fr/chaines-tv.orange.fr.test.js index 209ac89b..77b32bd2 100644 --- a/sites/orange.fr/orange.fr.test.js +++ b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr.test.js @@ -1,6 +1,6 @@ -// npx epg-grabber --config=sites/orange.fr/orange.fr.config.js --channels=sites/orange.fr/orange.fr_fr.channels.xml --output=.gh-pages/guides/fr/orange.fr.epg.xml --days=2 +// npx epg-grabber --config=sites/chaines-tv.orange.fr/chaines-tv.orange.fr.config.js --channels=sites/chaines-tv.orange.fr/chaines-tv.orange.fr_fr.channels.xml --output=.gh-pages/guides/fr/chaines-tv.orange.fr.epg.xml --days=2 -const { parser, url, logo, request } = require('./orange.fr.config.js') +const { parser, url, logo, request } = require('./chaines-tv.orange.fr.config.js') const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') const customParseFormat = require('dayjs/plugin/customParseFormat') diff --git a/sites/orange.fr/orange.fr_fr.channels.xml b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr_fr.channels.xml similarity index 99% rename from sites/orange.fr/orange.fr_fr.channels.xml rename to sites/chaines-tv.orange.fr/chaines-tv.orange.fr_fr.channels.xml index faec4faa..e7fb5163 100644 --- a/sites/orange.fr/orange.fr_fr.channels.xml +++ b/sites/chaines-tv.orange.fr/chaines-tv.orange.fr_fr.channels.xml @@ -1,5 +1,5 @@ - + 01 TV 2M Monde