mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-14 19:10:07 -04:00
Update create-database.js
This commit is contained in:
parent
2605a5f4ca
commit
0ae8cf623a
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ async function getChannels() {
|
|||
const groupId = `${region}/${site}`
|
||||
const items = await parser.parseChannels(filepath)
|
||||
for (const item of items) {
|
||||
if (!item.site || !item.site_id || !item.xmltv_id || !item.name) continue
|
||||
const key = `${item.site}:${item.site_id}`
|
||||
if (!channels[key]) {
|
||||
const countryCode = item.xmltv_id.split('.')[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue