Update format.js

This commit is contained in:
Aleksandr Statciuk 2021-08-10 07:12:25 +03:00
parent 31cf0ff7da
commit 6c35e89af6
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ async function main() {
let playlists = parser.parseIndex().filter(i => i.url !== 'channels/unsorted.m3u')
playlists = utils.filterPlaylists(playlists, config.country, config.exclude)
if (!playlists.length) log.print(`No playlist is selected\n`)
for (const playlist of playlists) {
await parser
.parsePlaylist(playlist.url)