mirror of
https://github.com/iptv-org/epg
synced 2026-05-06 09:27:03 -04:00
improvement provider
This commit is contained in:
@@ -65,7 +65,7 @@ function parseIcon(item){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function parseItems(content, channel) {
|
function parseItems(content, channel) {
|
||||||
const json = typeof content === 'string' ? JSON.parse(content) : content
|
const json = typeof content === 'string' ? JSON.parse(content) : []
|
||||||
|
|
||||||
const channelData = json.find(i => i.channelExternalId == channel.site_id);
|
const channelData = json.find(i => i.channelExternalId == channel.site_id);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user