mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update dstv.com.config.js
This commit is contained in:
parent
20aa2cc949
commit
8e80ba1d37
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue