Update programme-tv.net.config.js

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:26:49 +03:00
parent 7307a01895
commit 414e8a1bb9

View File

@@ -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)