mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update dstv.com.config.js
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = {
|
|||||||
site: 'dstv.com',
|
site: 'dstv.com',
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
maxAge: 6 * 60 * 60 * 1000 // 6h
|
ttl: 6 * 60 * 60 * 1000 // 6h
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
@@ -19,7 +19,7 @@ module.exports = {
|
|||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
)}&package=${packageName}&country=${region}`
|
)}&package=${packageName}&country=${region}`
|
||||||
},
|
},
|
||||||
async parser({ content, channel }) {
|
async parser({ content, channel, cached }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
const items = parseItems(content, channel)
|
const items = parseItems(content, channel)
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
|
|||||||
Reference in New Issue
Block a user