mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -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')
|
let playlists = parser.parseIndex().filter(i => i.url !== 'channels/unsorted.m3u')
|
||||||
playlists = utils.filterPlaylists(playlists, config.country, config.exclude)
|
playlists = utils.filterPlaylists(playlists, config.country, config.exclude)
|
||||||
|
if (!playlists.length) log.print(`No playlist is selected\n`)
|
||||||
for (const playlist of playlists) {
|
for (const playlist of playlists) {
|
||||||
await parser
|
await parser
|
||||||
.parsePlaylist(playlist.url)
|
.parsePlaylist(playlist.url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue