mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Update programme-tv.net.config.js
This commit is contained in:
@@ -17,14 +17,6 @@ module.exports = {
|
|||||||
channel.site_id
|
channel.site_id
|
||||||
}.html`
|
}.html`
|
||||||
},
|
},
|
||||||
logo: function ({ content }) {
|
|
||||||
const $ = cheerio.load(content)
|
|
||||||
const img = $('.gridChannel-logo').first().find('img')
|
|
||||||
const value = img.attr('srcset') || img.data('srcset')
|
|
||||||
const obj = value ? srcset.parse(value).find(i => i.width === 80) : {}
|
|
||||||
|
|
||||||
return obj.url
|
|
||||||
},
|
|
||||||
parser: function ({ content, date }) {
|
parser: function ({ content, date }) {
|
||||||
const programs = []
|
const programs = []
|
||||||
const items = parseItems(content)
|
const items = parseItems(content)
|
||||||
|
|||||||
Reference in New Issue
Block a user