From 8e80ba1d378bf78008e08b5b696a7e808cb49255 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 3 May 2022 20:16:48 +0300 Subject: [PATCH] Update dstv.com.config.js --- sites/dstv.com/dstv.com.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/dstv.com/dstv.com.config.js b/sites/dstv.com/dstv.com.config.js index 500a35ec..a94d086f 100644 --- a/sites/dstv.com/dstv.com.config.js +++ b/sites/dstv.com/dstv.com.config.js @@ -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) {