mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tvcubana.icrt.cu.config.js
This commit is contained in:
parent
24e3f50efc
commit
dfbda9a64b
1 changed files with 3 additions and 5 deletions
|
@ -3,14 +3,12 @@ const timezone = require('dayjs/plugin/timezone')
|
|||
|
||||
dayjs.extend(timezone)
|
||||
|
||||
require('dayjs/locale/es')
|
||||
|
||||
module.exports = {
|
||||
site: 'tvcubana.icrt.cu',
|
||||
url({ channel, date }) {
|
||||
return `https://www.tvcubana.icrt.cu/cartv/${channel.site_id}/${date
|
||||
.locale('es')
|
||||
.format('dddd')}.php`
|
||||
const daysOfWeek = ['domingo', 'lunes', 'martes', 'miercoles', 'jueves', 'viernes', 'sabado']
|
||||
|
||||
return `https://www.tvcubana.icrt.cu/cartv/${channel.site_id}/${daysOfWeek[date.day()]}.php`
|
||||
},
|
||||
logo({ channel }) {
|
||||
return channel.logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue