Update dstv.com

This commit is contained in:
freearhey
2023-11-19 11:10:25 +03:00
parent 6c1835ea5f
commit 2994c02f31
4 changed files with 192 additions and 77 deletions

View File

@@ -46,7 +46,7 @@ module.exports = {
},
async channels({ country }) {
const data = await axios
.get(`${API_ENDPOINT}/GetProgrammes?d=2022-03-10&package=DStv%20Premium&country=${country}`)
.get(`${API_ENDPOINT}/GetProgrammes?d=${dayjs().format('YYYY-MM-DD')}&country=${country}`)
.then(r => r.data)
.catch(console.log)