Adds the number of days to config.js

This commit is contained in:
Aleksandr Statciuk committed 2023-01-10 12:40:01 +03:00
1 parent 6dea9e4efd
commit f97f1b55c9
158 files changed
+166 -6

No files matched your search

@@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mujtvprogram.cz',
days: 2,
url({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
return `https://services.mujtvprogram.cz/tvprogram2services/services/tvprogrammelist_mobile.php?channel_cid=${channel.site_id}&day=${diff}`