mirror of
https://github.com/iptv-org/epg
synced 2026-09-11 22:36:50 -04:00
Replaces icon with image
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = {
|
||||
programs.push({
|
||||
title: parseTitle($item),
|
||||
description: parseDescription($item),
|
||||
icon: parseIcon($item),
|
||||
image: parseImage($item),
|
||||
start,
|
||||
stop
|
||||
})
|
||||
@@ -130,7 +130,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
function parseIcon($item) {
|
||||
function parseImage($item) {
|
||||
const src = $item('.event-logo img:not(.no-img)').attr('src')
|
||||
|
||||
return src ? `https://sat.tv${src}` : null
|
||||
|
||||
Reference in New Issue
Block a user