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

View File

@@ -33,7 +33,7 @@ module.exports = {
title: parseTitle($item),
description: parseDescription($item),
sub_title: parseSubTitle($item),
icon: parseIcon($item),
image: parseImage($item),
start,
stop
})
@@ -55,7 +55,7 @@ function parseSubTitle($item) {
return $item('.info').data('subtitle')
}
function parseIcon($item) {
function parseImage($item) {
return $item('.info').data('image')
}

View File

@@ -36,7 +36,7 @@ it('can parse response', () => {
sub_title: '',
description:
'A detective sergeant and expert in the field of serial killers working for the Missing Persons Bureau tries to protect the general public from evil.',
icon: 'https://bcboltvirgin.akamaized.net/player/shows/1498_517x291_1528141264.jpg'
image: 'https://bcboltvirgin.akamaized.net/player/shows/1498_517x291_1528141264.jpg'
})
})