Update tvguide.myjcom.jp

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:50:01 +03:00
parent 4bdb402a54
commit 98230bef9c
3 changed files with 131 additions and 141 deletions

View File

@@ -15,9 +15,6 @@ module.exports = {
return `https://tvguide.myjcom.jp/api/getEpgInfo/?channels=${id}`
},
logo({ channel }) {
return channel.logo || null
},
parser: function ({ content, channel, date }) {
let programs = []
const items = parseItems(content, channel, date)
@@ -66,8 +63,7 @@ module.exports = {
return {
lang: 'jp',
site_id: `${item.channel_type}_${item.channel_id}_${item.network_id}`,
name: item.channel_name,
logo: item.logo_url
name: item.channel_name
}
})
}