Update programtv.onet.pl

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

No files matched your search

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