Update format.js

This commit is contained in:
freearhey 2021-05-07 12:51:57 +03:00
parent a122e6c82f
commit 334615989e
1 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,9 @@ const instance = axios.create({
})
async function main() {
console.info('Starting...')
console.time('Done in')
const playlists = parseIndex()
for (const playlist of playlists) {
@ -42,7 +45,7 @@ async function main() {
}
function parseIndex() {
console.info(`Parsing 'index.m3u'...`)
console.info(`\nParsing 'index.m3u'...`)
let playlists = parser.parseIndex()
playlists = utils
.filterPlaylists(playlists, config.country, config.exclude)
@ -142,7 +145,7 @@ async function done() {
}
function finish() {
console.info('Done.')
console.timeEnd('Done in')
}
main()