Update programme-tv.net.config.js
This commit is contained in:
1 parent
7307a01895
commit
414e8a1bb9
1 file changed
-8
@@ -17,14 +17,6 @@ module.exports = {
|
||||
channel.site_id
|
||||
}.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 }) {
|
||||
const programs = []
|
||||
const items = parseItems(content)
|
||||
|
||||
Reference in new issue
Block a user