This commit is contained in:
freearhey 2021-03-12 17:44:15 +03:00
parent 533583fee4
commit 7e1904fdfa
2 changed files with 3 additions and 2 deletions

View file

@ -50,7 +50,7 @@ async function main() {
return programs
})
.then(utils.sleep(3000))
.then(utils.sleep(config.delay))
.catch(console.log)
programs = programs.concat(progs)

View file

@ -30,7 +30,8 @@ utils.loadConfig = function (file) {
days: 1,
cookie: '',
lang: 'en',
channels: channelsPath
channels: channelsPath,
delay: 3000
},
config
)