Update programtv.onet.pl

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:30:21 +03:00
parent fa77ccfdf1
commit 2b3008a0e0
2 changed files with 1 additions and 13 deletions

View File

@@ -17,12 +17,6 @@ module.exports = {
return `https://programtv.onet.pl/program-tv/${channel.site_id}?dzien=${day}`
},
logo: function ({ content }) {
const $ = cheerio.load(content)
const imgSrc = $('#channelTV > section > header > span > img').attr('src')
return imgSrc ? `https:${imgSrc}` : null
},
parser: function ({ content, date }) {
const programs = []
const items = parseItems(content)