mirror of
https://github.com/iptv-org/epg
synced 2026-04-28 05:26:59 -04:00
Replaces icon with image
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = {
|
||||
programs.push({
|
||||
title: parseTitle($item),
|
||||
categories: parseCategories($item),
|
||||
icon: parseIcon($item),
|
||||
image: parseImage($item),
|
||||
start,
|
||||
stop
|
||||
})
|
||||
@@ -84,7 +84,7 @@ function parseTitle($item) {
|
||||
.trim()
|
||||
}
|
||||
|
||||
function parseIcon($item) {
|
||||
function parseImage($item) {
|
||||
return $item('img').data('src') || $item('img').attr('src') || null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user