mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -04:00
Adds the number of days to config.js
This commit is contained in:
parent
6dea9e4efd
commit
f97f1b55c9
158 changed files with 166 additions and 6 deletions
|
@ -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}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue