mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -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 = {
|
module.exports = {
|
||||||
site: '9tv.co.il',
|
site: '9tv.co.il',
|
||||||
|
days: 2,
|
||||||
url: function ({ date }) {
|
url: function ({ date }) {
|
||||||
return `https://www.9tv.co.il/BroadcastSchedule/getBrodcastSchedule?date=${date.format(
|
return `https://www.9tv.co.il/BroadcastSchedule/getBrodcastSchedule?date=${date.format(
|
||||||
'DD/MM/YYYY 00:00:00'
|
'DD/MM/YYYY 00:00:00'
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'abc.net.au',
|
site: 'abc.net.au',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -3,6 +3,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'allente.se',
|
site: 'allente.se',
|
||||||
|
days: 2,
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
const [country] = channel.site_id.split('#')
|
const [country] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'andorradifusio.ad',
|
site: 'andorradifusio.ad',
|
||||||
|
days: 2,
|
||||||
url({ channel }) {
|
url({ channel }) {
|
||||||
return `https://www.andorradifusio.ad/programacio/${channel.site_id}`
|
return `https://www.andorradifusio.ad/programacio/${channel.site_id}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'arianaafgtv.com',
|
site: 'arianaafgtv.com',
|
||||||
|
days: 2,
|
||||||
url() {
|
url() {
|
||||||
return `https://www.arianaafgtv.com/index.html`
|
return `https://www.arianaafgtv.com/index.html`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'arianatelevision.com',
|
site: 'arianatelevision.com',
|
||||||
|
days: 2,
|
||||||
url: `https://www.arianatelevision.com/program-schedule/`,
|
url: `https://www.arianatelevision.com/program-schedule/`,
|
||||||
parser({ content, date }) {
|
parser({ content, date }) {
|
||||||
const programs = []
|
const programs = []
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'artonline.tv',
|
site: 'artonline.tv',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
return `https://www.artonline.tv/Home/Tvlist${channel.site_id}`
|
return `https://www.artonline.tv/Home/Tvlist${channel.site_id}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,7 @@ const API_ENDPOINT = `https://contenthub-api.eco.astro.com.my`
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'astro.com.my',
|
site: 'astro.com.my',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
return `${API_ENDPOINT}/channel/${channel.site_id}.json`
|
return `${API_ENDPOINT}/channel/${channel.site_id}.json`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'bein.com',
|
site: 'bein.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const [index] = channel.site_id.split('#')
|
const [index] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'beinsports.com',
|
site: 'beinsports.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000, // 1h
|
ttl: 60 * 60 * 1000, // 1h
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'bt.com',
|
site: 'bt.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://voila.metabroadcast.com/4/schedules/${
|
return `https://voila.metabroadcast.com/4/schedules/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'cablego.com.pe',
|
site: 'cablego.com.pe',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'canalplus-afrique.com',
|
site: 'canalplus-afrique.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'canalplus-caraibes.com',
|
site: 'canalplus-caraibes.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'canalplus-haiti.com',
|
site: 'canalplus-haiti.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'canalplus-reunion.com',
|
site: 'canalplus-reunion.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ const API_KEY = 'da2291af3b10e9900d1c55e1a65d3388' // 10.2022
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'canalplus.com',
|
site: 'canalplus.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'cgates.lt',
|
site: 'cgates.lt',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
return `https://www.cgates.lt/tv-kanalai/${channel.site_id}/`
|
return `https://www.cgates.lt/tv-kanalai/${channel.site_id}/`
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'chaines-tv.orange.fr',
|
site: 'chaines-tv.orange.fr',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://rp-ott-mediation-tv.woopic.com/api-gw/live/v3/applications/STB4PC/programs?groupBy=channel&includeEmptyChannels=false&period=${date.valueOf()},${date
|
return `https://rp-ott-mediation-tv.woopic.com/api-gw/live/v3/applications/STB4PC/programs?groupBy=channel&includeEmptyChannels=false&period=${date.valueOf()},${date
|
||||||
.add(1, 'd')
|
.add(1, 'd')
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'clickthecity.com',
|
site: 'clickthecity.com',
|
||||||
|
days: 2,
|
||||||
url({ channel }) {
|
url({ channel }) {
|
||||||
return `https://www.clickthecity.com/tv/network/${channel.site_id}`
|
return `https://www.clickthecity.com/tv/network/${channel.site_id}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,6 +2,7 @@ const parser = require('epg-parser')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'compulms.com',
|
site: 'compulms.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'comteco.com.bo',
|
site: 'comteco.com.bo',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
return `https://comteco.com.bo/pages/canales-y-programacion-tv/paquete-oro/${channel.site_id}`
|
return `https://comteco.com.bo/pages/canales-y-programacion-tv/paquete-oro/${channel.site_id}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'cosmote.gr',
|
site: 'cosmote.gr',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://www.cosmote.gr/cosmotetv/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.cosmote.gr/cosmotetv/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'
|
||||||
|
|
|
@ -3,6 +3,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'delta.nl',
|
site: 'delta.nl',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://clientapi.tv.delta.nl/guide/channels/list?start=${date.unix()}&end=${date
|
return `https://clientapi.tv.delta.nl/guide/channels/list?start=${date.unix()}&end=${date
|
||||||
.add(1, 'd')
|
.add(1, 'd')
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'digiturk.com.tr',
|
site: 'digiturk.com.tr',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://www.digiturk.com.tr/yayin-akisi/api/program/kanal/${
|
return `https://www.digiturk.com.tr/yayin-akisi/api/program/kanal/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'directv.com.ar',
|
site: 'directv.com.ar',
|
||||||
|
days: 2,
|
||||||
url: `https://www.directv.com.ar/guia/ChannelDetail.aspx/GetProgramming`,
|
url: `https://www.directv.com.ar/guia/ChannelDetail.aspx/GetProgramming`,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'directv.com.uy',
|
site: 'directv.com.uy',
|
||||||
|
days: 2,
|
||||||
url: `https://www.directv.com.uy/guia/ChannelDetail.aspx/GetProgramming`,
|
url: `https://www.directv.com.uy/guia/ChannelDetail.aspx/GetProgramming`,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'directv.com',
|
site: 'directv.com',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://www.directv.com/json/channelschedule?channels=${
|
return `https://www.directv.com/json/channelschedule?channels=${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'dishtv.in',
|
site: 'dishtv.in',
|
||||||
|
days: 2,
|
||||||
url: `https://www.dishtv.in/WhatsonIndiaWebService.asmx/LoadPagginResultDataForProgram`,
|
url: `https://www.dishtv.in/WhatsonIndiaWebService.asmx/LoadPagginResultDataForProgram`,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -5,6 +5,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'dsmart.com.tr',
|
site: 'dsmart.com.tr',
|
||||||
|
days: 2,
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
return `https://www.dsmart.com.tr/api/v1/public/epg/schedules?page=1&limit=500&day=${date.format(
|
return `https://www.dsmart.com.tr/api/v1/public/epg/schedules?page=1&limit=500&day=${date.format(
|
||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
|
|
|
@ -12,6 +12,7 @@ const API_ENDPOINT = 'https://www.dstv.com/umbraco/api/TvGuide'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'dstv.com',
|
site: 'dstv.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 3 * 60 * 60 * 1000, // 3h
|
ttl: 3 * 60 * 60 * 1000, // 3h
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'elcinema.com',
|
site: 'elcinema.com',
|
||||||
|
days: 2,
|
||||||
url({ channel }) {
|
url({ channel }) {
|
||||||
const lang = channel.lang === 'en' ? 'en/' : '/'
|
const lang = channel.lang === 'en' ? 'en/' : '/'
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ const API_ENDPOINT = 'http://epg.i-cable.com/ci/channel'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'epg.i-cable.com',
|
site: 'epg.i-cable.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1h
|
ttl: 60 * 60 * 1000 // 1h
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'foxsports.com.au',
|
site: 'foxsports.com.au',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -5,6 +5,7 @@ const cheerio = require('cheerio')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
skip: true, // returns "Access Denied" or nothing
|
skip: true, // returns "Access Denied" or nothing
|
||||||
site: 'foxtel.com.au',
|
site: 'foxtel.com.au',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://www.foxtel.com.au/tv-guide/channel/${channel.site_id}/${date.format(
|
return `https://www.foxtel.com.au/tv-guide/channel/${channel.site_id}/${date.format(
|
||||||
'YYYY/MM/DD'
|
'YYYY/MM/DD'
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'frikanalen.no',
|
site: 'frikanalen.no',
|
||||||
|
days: 2,
|
||||||
url({ date }) {
|
url({ date }) {
|
||||||
return `https://frikanalen.no/api/scheduleitems/?date=${date.format(
|
return `https://frikanalen.no/api/scheduleitems/?date=${date.format(
|
||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'gatotv.com',
|
site: 'gatotv.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://www.gatotv.com/canal/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
return `https://www.gatotv.com/canal/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,6 +13,7 @@ dayjs.extend(isoWeek)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'getafteritmedia.com',
|
site: 'getafteritmedia.com',
|
||||||
|
days: 2,
|
||||||
url: 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcDmb9OnO0HpbjINfGaepqgGTp3VSmPs7hs654n3sRKrq4Q9y6uPSEvVvq9MwTLYG_n_V7vh0rFYP9/pubhtml',
|
url: 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcDmb9OnO0HpbjINfGaepqgGTp3VSmPs7hs654n3sRKrq4Q9y6uPSEvVvq9MwTLYG_n_V7vh0rFYP9/pubhtml',
|
||||||
parser({ content, channel, date }) {
|
parser({ content, channel, date }) {
|
||||||
const programs = []
|
const programs = []
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'guidatv.sky.it',
|
site: 'guidatv.sky.it',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const [env, id] = channel.site_id.split('#')
|
const [env, id] = channel.site_id.split('#')
|
||||||
return `https://apid.sky.it/gtv/v1/events?from=${date.format('YYYY-MM-DD')}T00:00:00Z&to=${date
|
return `https://apid.sky.it/gtv/v1/events?from=${date.format('YYYY-MM-DD')}T00:00:00Z&to=${date
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'guide.dstv.com',
|
site: 'guide.dstv.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000,
|
ttl: 60 * 60 * 1000,
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'hd-plus.de',
|
site: 'hd-plus.de',
|
||||||
|
days: 2,
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
const today = dayjs().utc().startOf('d')
|
const today = dayjs().utc().startOf('d')
|
||||||
const day = date.diff(today, 'd')
|
const day = date.diff(today, 'd')
|
||||||
|
|
|
@ -5,6 +5,7 @@ const API_ENDPOINT = `https://legacy-static.oesp.horizon.tv/oesp/v4`
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'horizon.tv',
|
site: 'horizon.tv',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const [country, lang] = channel.site_id.split('#')
|
const [country, lang] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ const API_ENDPOINT = 'https://raw.githubusercontent.com/matthuisman/i.mjh.nz/mas
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'i.mjh.nz',
|
site: 'i.mjh.nz',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 3 * 60 * 60 * 1000 // 3h
|
ttl: 3 * 60 * 60 * 1000 // 3h
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'i24news.tv',
|
site: 'i24news.tv',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
const [lang] = channel.site_id.split('#')
|
const [lang] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'ionplustv.com',
|
site: 'ionplustv.com',
|
||||||
|
days: 2,
|
||||||
url({ date }) {
|
url({ date }) {
|
||||||
return `https://ionplustv.com/schedule/${date.format('YYYY-MM-DD')}`
|
return `https://ionplustv.com/schedule/${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,6 +5,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'ipko.com',
|
site: 'ipko.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ date }) {
|
url: function ({ date }) {
|
||||||
return `https://www.ipko.com/epg/admin/programs.php?date=${date.format('YYYY-MM-DD')}`
|
return `https://www.ipko.com/epg/admin/programs.php?date=${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
module.exports = {
|
module.exports = {
|
||||||
skip: true, // INFO: Request failed with status code 403 (Access denied)
|
skip: true, // INFO: Request failed with status code 403 (Access denied)
|
||||||
site: 'kan.org.il',
|
site: 'kan.org.il',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://www.kan.org.il/tv-guide/tv_guidePrograms.ashx?stationID=${
|
return `https://www.kan.org.il/tv-guide/tv_guidePrograms.ashx?stationID=${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'knr.gl',
|
site: 'knr.gl',
|
||||||
|
days: 2,
|
||||||
url({ date }) {
|
url({ date }) {
|
||||||
return `https://knr.gl/admin/knr/TV/program/${date.format('YYYY-MM-DD')}/gl`
|
return `https://knr.gl/admin/knr/TV/program/${date.format('YYYY-MM-DD')}/gl`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ const API_ENDPOINT = `https://www.kplus.vn/Schedule/getSchedule`
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'kplus.vn',
|
site: 'kplus.vn',
|
||||||
|
days: 2,
|
||||||
skip: true, // channel list changes with each request
|
skip: true, // channel list changes with each request
|
||||||
url: API_ENDPOINT,
|
url: API_ENDPOINT,
|
||||||
request: {
|
request: {
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'kvf.fo',
|
site: 'kvf.fo',
|
||||||
|
days: 2,
|
||||||
url({ date }) {
|
url({ date }) {
|
||||||
return `https://kvf.fo/nskra/sv?date=${date.format('YYYY-MM-DD')}`
|
return `https://kvf.fo/nskra/sv?date=${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'm.tv.sms.cz',
|
site: 'm.tv.sms.cz',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://m.tv.sms.cz/index.php?stanice=${channel.site_id}&cas=0&den=${date.format(
|
return `https://m.tv.sms.cz/index.php?stanice=${channel.site_id}&cas=0&den=${date.format(
|
||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
|
|
|
@ -6,6 +6,7 @@ const API_PROD_ENDPOINT = 'https://prod.spark.magentatv.at/deu/web/linear-servic
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'magentatv.at',
|
site: 'magentatv.at',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -7,6 +7,7 @@ const COOKIE =
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'magentatv.de',
|
site: 'magentatv.de',
|
||||||
|
days: 2,
|
||||||
skip: true, // the site uses a constantly updated session ID
|
skip: true, // the site uses a constantly updated session ID
|
||||||
url: `https://api.prod.sngtv.magentatv.de/EPG/JSON/PlayBillList`,
|
url: `https://api.prod.sngtv.magentatv.de/EPG/JSON/PlayBillList`,
|
||||||
request: {
|
request: {
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'magticom.ge',
|
site: 'magticom.ge',
|
||||||
|
days: 2,
|
||||||
url: 'https://www.magticom.ge/request/channel-program.php',
|
url: 'https://www.magticom.ge/request/channel-program.php',
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mako.co.il',
|
site: 'mako.co.il',
|
||||||
|
days: 2,
|
||||||
url: 'https://www.mako.co.il/AjaxPage?jspName=EPGResponse.jsp',
|
url: 'https://www.mako.co.il/AjaxPage?jspName=EPGResponse.jsp',
|
||||||
parser: function ({ content, date }) {
|
parser: function ({ content, date }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'maxtv.hrvatskitelekom.hr',
|
site: 'maxtv.hrvatskitelekom.hr',
|
||||||
|
days: 2,
|
||||||
url: 'https://player.maxtvtogo.tportal.hr:8082/OTT4Proxy/proxy/epg/shows',
|
url: 'https://player.maxtvtogo.tportal.hr:8082/OTT4Proxy/proxy/epg/shows',
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -6,6 +6,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'maxtvgo.mk',
|
site: 'maxtvgo.mk',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://prd-static-mkt.spectar.tv/rev-1636968171/client_api.php/epg/list/instance_id/1/language/mk/channel_id/${
|
return `https://prd-static-mkt.spectar.tv/rev-1636968171/client_api.php/epg/list/instance_id/1/language/mk/channel_id/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mbc.net',
|
site: 'mbc.net',
|
||||||
|
days: 2,
|
||||||
skip: true, // NOTE: there is no program on the site
|
skip: true, // NOTE: there is no program on the site
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
return `https://www.mbc.net/.rest/api/channel/grids?from=${date.valueOf()}&to=${date
|
return `https://www.mbc.net/.rest/api/channel/grids?from=${date.valueOf()}&to=${date
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mediaklikk.hu',
|
site: 'mediaklikk.hu',
|
||||||
|
days: 2,
|
||||||
url: 'https://mediaklikk.hu/wp-content/plugins/hms-global-widgets/widgets/programGuide/programGuideInterface.php',
|
url: 'https://mediaklikk.hu/wp-content/plugins/hms-global-widgets/widgets/programGuide/programGuideInterface.php',
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mediaset.it',
|
site: 'mediaset.it',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `http://www.mediaset.it/guidatv/inc/canali/${date.format('YYYYMM')}/${date.format(
|
return `http://www.mediaset.it/guidatv/inc/canali/${date.format('YYYYMM')}/${date.format(
|
||||||
'YYYYMMDD'
|
'YYYYMMDD'
|
||||||
|
|
|
@ -3,6 +3,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'melita.com',
|
site: 'melita.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://androme.melitacable.com/api/epg/v1/schedule/channel/${
|
return `https://androme.melitacable.com/api/epg/v1/schedule/channel/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'meo.pt',
|
site: 'meo.pt',
|
||||||
|
days: 2,
|
||||||
url: `https://www.meo.pt/_layouts/15/Ptsi.Isites.GridTv/GridTvMng.asmx/getProgramsFromChannels`,
|
url: `https://www.meo.pt/_layouts/15/Ptsi.Isites.GridTv/GridTvMng.asmx/getProgramsFromChannels`,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mewatch.sg',
|
site: 'mewatch.sg',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://cdn.mewatch.sg/api/schedules?channels=${channel.site_id}&date=${date.format(
|
return `https://cdn.mewatch.sg/api/schedules?channels=${channel.site_id}&date=${date.format(
|
||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mi.tv',
|
site: 'mi.tv',
|
||||||
|
days: 2,
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
const [country, id] = channel.site_id.split('#')
|
const [country, id] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mncvision.id',
|
site: 'mncvision.id',
|
||||||
|
days: 2,
|
||||||
url: 'https://mncvision.id/schedule/table',
|
url: 'https://mncvision.id/schedule/table',
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'movistarplus.es',
|
site: 'movistarplus.es',
|
||||||
|
days: 2,
|
||||||
url: function ({ date }) {
|
url: function ({ date }) {
|
||||||
return `https://www.movistarplus.es/programacion-tv/${date.format('YYYY-MM-DD')}?v=json`
|
return `https://www.movistarplus.es/programacion-tv/${date.format('YYYY-MM-DD')}?v=json`
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,6 +5,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mtel.ba',
|
site: 'mtel.ba',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const [position] = channel.site_id.split('#')
|
const [position] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mts.rs',
|
site: 'mts.rs',
|
||||||
|
days: 2,
|
||||||
url({ date, channel }) {
|
url({ date, channel }) {
|
||||||
const [position] = channel.site_id.split('#')
|
const [position] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mujtvprogram.cz',
|
site: 'mujtvprogram.cz',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd')
|
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}`
|
return `https://services.mujtvprogram.cz/tvprogram2services/services/tvprogrammelist_mobile.php?channel_cid=${channel.site_id}&day=${diff}`
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'musor.tv',
|
site: 'musor.tv',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return dayjs.utc().isSame(date, 'd')
|
return dayjs.utc().isSame(date, 'd')
|
||||||
? `https://musor.tv/mai/tvmusor/${channel.site_id}`
|
? `https://musor.tv/mai/tvmusor/${channel.site_id}`
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'myafn.dodmedia.osd.mil',
|
site: 'myafn.dodmedia.osd.mil',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mysky.com.ph',
|
site: 'mysky.com.ph',
|
||||||
|
days: 2,
|
||||||
url: 'https://skyepg.mysky.com.ph/Main/getEventsbyType',
|
url: 'https://skyepg.mysky.com.ph/Main/getEventsbyType',
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
|
|
|
@ -10,6 +10,7 @@ const API_ENDPOINT = 'https://content-api.mytvsuper.com/v1'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'mytvsuper.com',
|
site: 'mytvsuper.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1h
|
ttl: 60 * 60 * 1000 // 1h
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'novacyprus.com',
|
site: 'novacyprus.com',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://www.novacyprus.com/api/v1/tvprogram/from/${date.format('YYYYMMDD')}/to/${date
|
return `https://www.novacyprus.com/api/v1/tvprogram/from/${date.format('YYYYMMDD')}/to/${date
|
||||||
.add(1, 'd')
|
.add(1, 'd')
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'novasports.gr',
|
site: 'novasports.gr',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://www.novasports.gr/wp-admin/admin-ajax.php?action=nova_get_template&template=tv-program/broadcast&dt=${date.format(
|
return `https://www.novasports.gr/wp-admin/admin-ajax.php?action=nova_get_template&template=tv-program/broadcast&dt=${date.format(
|
||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'nowplayer.now.com',
|
site: 'nowplayer.now.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const diff = date.diff(dayjs.utc().startOf('d'), 'd') + 1
|
const diff = date.diff(dayjs.utc().startOf('d'), 'd') + 1
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ const tz = {
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'ontvtonight.com',
|
site: 'ontvtonight.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const [region, id] = channel.site_id.split('#')
|
const [region, id] = channel.site_id.split('#')
|
||||||
let url = `https://www.ontvtonight.com`
|
let url = `https://www.ontvtonight.com`
|
||||||
|
|
|
@ -7,6 +7,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'osn.com',
|
site: 'osn.com',
|
||||||
|
days: 2,
|
||||||
url: `https://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsProgramTimeTable`,
|
url: `https://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsProgramTimeTable`,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -4,7 +4,8 @@ const isBetween = require('dayjs/plugin/isBetween')
|
||||||
dayjs.extend(isBetween)
|
dayjs.extend(isBetween)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'pbsguam.org', // the program is only available Thursday through Sunday
|
site: 'pbsguam.org',
|
||||||
|
days: 2, // the program is only available Thursday through Sunday
|
||||||
url: 'https://pbsguam.org/calendar/',
|
url: 'https://pbsguam.org/calendar/',
|
||||||
parser: function ({ content, date }) {
|
parser: function ({ content, date }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
|
|
|
@ -5,6 +5,7 @@ const API_ENDPOINT = 'https://epg.provider.plex.tv'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'plex.tv',
|
site: 'plex.tv',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
headers: {
|
headers: {
|
||||||
'x-plex-provider-version': '5.1'
|
'x-plex-provider-version': '5.1'
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'programacion-tv.elpais.com',
|
site: 'programacion-tv.elpais.com',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -5,6 +5,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'programetv.ro',
|
site: 'programetv.ro',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const daysOfWeek = {
|
const daysOfWeek = {
|
||||||
0: 'duminica',
|
0: 'duminica',
|
||||||
|
|
|
@ -12,6 +12,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'programme-tv.net',
|
site: 'programme-tv.net',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://www.programme-tv.net/programme/chaine/${date.format('YYYY-MM-DD')}/programme-${
|
return `https://www.programme-tv.net/programme/chaine/${date.format('YYYY-MM-DD')}/programme-${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -5,6 +5,7 @@ const apiUrl = `https://programme-tv.vini.pf/programmesJSON`
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'programme-tv.vini.pf',
|
site: 'programme-tv.vini.pf',
|
||||||
|
days: 2,
|
||||||
url: apiUrl,
|
url: apiUrl,
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'programme.tvb.com',
|
site: 'programme.tvb.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://programme.tvb.com/ajax.php?action=channellist&code=${
|
return `https://programme.tvb.com/ajax.php?action=channellist&code=${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
module.exports = {
|
module.exports = {
|
||||||
delay: 5000,
|
delay: 5000,
|
||||||
site: 'programtv.onet.pl',
|
site: 'programtv.onet.pl',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
const currDate = dayjs.utc().startOf('d')
|
const currDate = dayjs.utc().startOf('d')
|
||||||
const day = date.diff(currDate, 'd')
|
const day = date.diff(currDate, 'd')
|
||||||
|
|
|
@ -3,6 +3,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'proximusmwc.be',
|
site: 'proximusmwc.be',
|
||||||
|
days: 2,
|
||||||
skip: true, // site is not working (https://github.com/iptv-org/epg/runs/5505070902?check_suite_focus=true)
|
skip: true, // site is not working (https://github.com/iptv-org/epg/runs/5505070902?check_suite_focus=true)
|
||||||
url: 'https://api.proximusmwc.be/v2/graphql',
|
url: 'https://api.proximusmwc.be/v2/graphql',
|
||||||
request: {
|
request: {
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'raiplay.it',
|
site: 'raiplay.it',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://www.raiplay.it/palinsesto/app/${channel.site_id}/${date.format(
|
return `https://www.raiplay.it/palinsesto/app/${channel.site_id}/${date.format(
|
||||||
'DD-MM-YYYY'
|
'DD-MM-YYYY'
|
||||||
|
|
|
@ -13,6 +13,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'reportv.com.ar',
|
site: 'reportv.com.ar',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
cache: {
|
cache: {
|
||||||
ttl: 60 * 60 * 1000 // 1 hour
|
ttl: 60 * 60 * 1000 // 1 hour
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(timezone)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'rev.bs',
|
site: 'rev.bs',
|
||||||
|
days: 2,
|
||||||
url: function ({ date }) {
|
url: function ({ date }) {
|
||||||
return `https://www.rev.bs/wp-content/uploads/tv-guide/${date.format('YYYY-MM-DD')}_0.json`
|
return `https://www.rev.bs/wp-content/uploads/tv-guide/${date.format('YYYY-MM-DD')}_0.json`
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'rotana.net',
|
site: 'rotana.net',
|
||||||
|
days: 2,
|
||||||
skip: true, // NOTE: there is no program for the current date on the site
|
skip: true, // NOTE: there is no program for the current date on the site
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://rotana.net/triAssets/uploads/2020/11/${channel.site_id}.csv`
|
return `https://rotana.net/triAssets/uploads/2020/11/${channel.site_id}.csv`
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
module.exports = {
|
module.exports = {
|
||||||
skip: true, // INFO: guide is not available on the site
|
skip: true, // INFO: guide is not available on the site
|
||||||
site: 'rtb.gov.bn',
|
site: 'rtb.gov.bn',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
const [position] = channel.site_id.split('#')
|
const [position] = channel.site_id.split('#')
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'rthk.hk',
|
site: 'rthk.hk',
|
||||||
|
days: 2,
|
||||||
request: {
|
request: {
|
||||||
headers({ channel }) {
|
headers({ channel }) {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'rtmklik.rtm.gov.my',
|
site: 'rtmklik.rtm.gov.my',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://rtm.glueapi.io/v3/epg/${
|
return `https://rtm.glueapi.io/v3/epg/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
|
@ -10,16 +10,19 @@ dayjs.extend(timezone)
|
||||||
dayjs.extend(customParseFormat)
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
const tz = {
|
const tz = {
|
||||||
lis: 'Europe/Lisbon',
|
lis: 'Europe/Lisbon',
|
||||||
per: 'Asia/Macau',
|
per: 'Asia/Macau',
|
||||||
rja: 'America/Sao_Paulo'
|
rja: 'America/Sao_Paulo'
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'rtp.pt',
|
site: 'rtp.pt',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
let [region, channelCode] = channel.site_id.split('#')
|
let [region, channelCode] = channel.site_id.split('#')
|
||||||
return `https://www.rtp.pt/EPG/json/rtp-channels-page/list-grid/tv/${channelCode}/${date.format('D-M-YYYY')}/${region}`
|
return `https://www.rtp.pt/EPG/json/rtp-channels-page/list-grid/tv/${channelCode}/${date.format(
|
||||||
|
'D-M-YYYY'
|
||||||
|
)}/${region}`
|
||||||
},
|
},
|
||||||
parser({ content, channel }) {
|
parser({ content, channel }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
|
@ -61,7 +64,7 @@ module.exports = {
|
||||||
|
|
||||||
function parseIcon(item) {
|
function parseIcon(item) {
|
||||||
const last = item.image.pop()
|
const last = item.image.pop()
|
||||||
if(!last) return null
|
if (!last) return null
|
||||||
return last.src
|
return last.src
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'ruv.is',
|
site: 'ruv.is',
|
||||||
|
days: 2,
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://www.ruv.is/sjonvarp/dagskra/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
return `https://www.ruv.is/sjonvarp/dagskra/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'seezntv.com',
|
site: 'seezntv.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
return `https://api.seezntv.com/svc/menu/app6/api/epg_proglist?ch_no=${channel.site_id}&search_day=1`
|
return `https://api.seezntv.com/svc/menu/app6/api/epg_proglist?ch_no=${channel.site_id}&search_day=1`
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'siba.com.co',
|
site: 'siba.com.co',
|
||||||
|
days: 2,
|
||||||
url: 'http://devportal.siba.com.co/index.php?action=grilla',
|
url: 'http://devportal.siba.com.co/index.php?action=grilla',
|
||||||
request: {
|
request: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
|
@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'sjonvarp.is',
|
site: 'sjonvarp.is',
|
||||||
|
days: 2,
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `http://www.sjonvarp.is/index.php?Tm=%3F&p=idag&c=${channel.site_id}&y=${date.format(
|
return `http://www.sjonvarp.is/index.php?Tm=%3F&p=idag&c=${channel.site_id}&y=${date.format(
|
||||||
'YYYY'
|
'YYYY'
|
||||||
|
|
|
@ -2,6 +2,7 @@ const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'sky.com',
|
site: 'sky.com',
|
||||||
|
days: 2,
|
||||||
url: function ({ date, channel }) {
|
url: function ({ date, channel }) {
|
||||||
return `https://epgservices.sky.com/5.2.2/api/2.0/channel/json/${
|
return `https://epgservices.sky.com/5.2.2/api/2.0/channel/json/${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue