Update generate.js
- Skip channels without url
This commit is contained in:
parent
b16b1e9f57
commit
507f30166c
@ -63,6 +63,7 @@ function parseIndex() {
|
||||
|
||||
for (let item of playlist.items) {
|
||||
const channel = helper.createChannel(item)
|
||||
if (!channel.url) continue
|
||||
channel.country.code = countryCode
|
||||
channel.country.name = countryName
|
||||
channel.tvg.url = playlist.header.attrs['x-tvg-url'] || ''
|
||||
|
Loading…
Reference in New Issue
Block a user