Update zap.co.ao

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:59:41 +03:00
parent e0ef70b70d
commit edf4bc12e4
2 changed files with 1 additions and 13 deletions

View File

@@ -12,12 +12,6 @@ module.exports = {
url: function ({ date, channel }) {
return `https://www.zap.co.ao/_api/channels/${date.format('YYYY-M-D')}/epg.json`
},
logo({ content, channel }) {
const channels = JSON.parse(content)
const data = channels.find(ch => ch.id == channel.site_id)
return data ? data.image_uri : null
},
parser: function ({ content, channel, date }) {
const programs = []
const items = parseItems(content, channel)