mirror of
https://github.com/iptv-org/epg
synced 2026-09-13 12:36:25 -04:00
Update allente.se.config.js
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
const axios = require('axios')
|
|
||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
@@ -31,6 +30,7 @@ module.exports = {
|
|||||||
return programs
|
return programs
|
||||||
},
|
},
|
||||||
async channels({ country, lang }) {
|
async channels({ country, lang }) {
|
||||||
|
const axios = require('axios')
|
||||||
const data = await axios
|
const data = await axios
|
||||||
.get(`https://cs-vcb.allente.${country}/epg/events?date=${dayjs().format('YYYY-MM-DD')}`)
|
.get(`https://cs-vcb.allente.${country}/epg/events?date=${dayjs().format('YYYY-MM-DD')}`)
|
||||||
.then(r => r.data)
|
.then(r => r.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user