Update programtv.onet.pl.config.js

This commit is contained in:
Aleksandr Statciuk 2022-01-16 17:48:25 +03:00
parent 0a432bd238
commit b7485badeb

View file

@ -12,7 +12,7 @@ module.exports = {
delay: 5000,
site: 'programtv.onet.pl',
url: function ({ date, channel }) {
const currDate = dayjs.utc().startOf('d')
const currDate = dayjs.utc().startOf('d').add(1, 'm')
const day = currDate.diff(date, 'd')
return `https://programtv.onet.pl/program-tv/${channel.site_id}?dzien=${day}`