mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update epg.i-cable.com.config.js
This commit is contained in:
parent
4cb3c54391
commit
c74beecd66
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ const API_ENDPOINT = 'http://epg.i-cable.com/ci/channel'
|
|||
|
||||
module.exports = {
|
||||
site: 'epg.i-cable.com',
|
||||
request: {
|
||||
cache: {
|
||||
ttl: 60 * 60 * 1000 // 1h
|
||||
}
|
||||
},
|
||||
url: function ({ channel, date }) {
|
||||
return `${API_ENDPOINT}/epg/${channel.site_id}/${date.format('YYYY-MM-DD')}?api=api`
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue