mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 13:56:51 -04:00
Update /sites
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
function parseItems(content, channel) {
|
||||
const [_, channelId] = channel.site_id.split('#')
|
||||
const [, channelId] = channel.site_id.split('#')
|
||||
const data = JSON.parse(content)
|
||||
if (!data || !Array.isArray(data.channels)) return []
|
||||
const channelData = data.channels.find(i => i.id === channelId)
|
||||
|
||||
Reference in New Issue
Block a user