mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 05:46:54 -04:00
Update /sites
This commit is contained in:
@@ -66,7 +66,7 @@ function parseDescription($item) {
|
||||
|
||||
function parseIcon($item) {
|
||||
const backgroundImage = $item('a > div.image-parent > div.image').css('background-image')
|
||||
const [_, icon] = backgroundImage.match(/url\(\'(.*)'\)/) || [null, null]
|
||||
const [, icon] = backgroundImage.match(/url\('(.*)'\)/) || [null, null]
|
||||
|
||||
return icon
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user