Update format.js
This commit is contained in:
parent
a122e6c82f
commit
334615989e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue