Update cosmote.gr.config.js

#2068
This commit is contained in:
freearhey 2023-06-19 09:49:14 +03:00
parent dcab2b463a
commit 09ad766db7

View file

@ -4,6 +4,9 @@ const { DateTime } = require('luxon')
module.exports = { module.exports = {
site: 'cosmote.gr', site: 'cosmote.gr',
days: 2, days: 2,
request: {
timeout: 30000 // 30 seconds
},
url: function ({ date, channel }) { url: function ({ date, channel }) {
return `https://www.cosmotetv.gr/portal/residential/program/epg/programchannel?p_p_id=channelprogram_WAR_OTETVportlet&p_p_lifecycle=0&_channelprogram_WAR_OTETVportlet_platform=IPTV&_channelprogram_WAR_OTETVportlet_date=${date.format( return `https://www.cosmotetv.gr/portal/residential/program/epg/programchannel?p_p_id=channelprogram_WAR_OTETVportlet&p_p_lifecycle=0&_channelprogram_WAR_OTETVportlet_platform=IPTV&_channelprogram_WAR_OTETVportlet_date=${date.format(
'DD-MM-YYYY' 'DD-MM-YYYY'