mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update dstv.com.config.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user