mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 22:06:56 -04:00
Replaces icon with image
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = {
|
||||
start: parseStart(item),
|
||||
stop: parseStop(item),
|
||||
description: item.description,
|
||||
icon: parseIcon(item),
|
||||
image: parseImage(item),
|
||||
sub_title: item.subtitle
|
||||
})
|
||||
})
|
||||
@@ -63,6 +63,6 @@ function parseStop(item) {
|
||||
return dayjs.unix(parseInt(item.endDate) / 1000)
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
function parseImage(item) {
|
||||
return 'https://www.nhk.or.jp' + item.thumbnail
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user