Update dstv.com.config.js

This commit is contained in:
Aleksandr Statciuk 2022-05-03 20:16:48 +03:00
parent 20aa2cc949
commit 8e80ba1d37

View file

@ -8,7 +8,7 @@ module.exports = {
site: 'dstv.com',
request: {
cache: {
maxAge: 6 * 60 * 60 * 1000 // 6h
ttl: 6 * 60 * 60 * 1000 // 6h
}
},
url: function ({ channel, date }) {
@ -19,7 +19,7 @@ module.exports = {
'YYYY-MM-DD'
)}&package=${packageName}&country=${region}`
},
async parser({ content, channel }) {
async parser({ content, channel, cached }) {
let programs = []
const items = parseItems(content, channel)
for (const item of items) {