mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 18:10:04 -04:00
Update format.js
This commit is contained in:
parent
31cf0ff7da
commit
6c35e89af6
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue