Replaces icon with image

This commit is contained in:
freearhey
2024-06-24 16:49:35 +03:00
parent 0eaff54a31
commit bb6771f539
170 changed files with 428 additions and 351 deletions
@@ -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
}