Adds the number of days to config.js

This commit is contained in:
Aleksandr Statciuk 2023-01-10 12:40:01 +03:00
parent 6dea9e4efd
commit f97f1b55c9
158 changed files with 166 additions and 6 deletions

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: '9tv.co.il',
days: 2,
url: function ({ date }) {
return `https://www.9tv.co.il/BroadcastSchedule/getBrodcastSchedule?date=${date.format(
'DD/MM/YYYY 00:00:00'

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'abc.net.au',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -3,6 +3,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'allente.se',
days: 2,
url({ date, channel }) {
const [country] = channel.site_id.split('#')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'andorradifusio.ad',
days: 2,
url({ channel }) {
return `https://www.andorradifusio.ad/programacio/${channel.site_id}`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'arianaafgtv.com',
days: 2,
url() {
return `https://www.arianaafgtv.com/index.html`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'arianatelevision.com',
days: 2,
url: `https://www.arianatelevision.com/program-schedule/`,
parser({ content, date }) {
const programs = []

View file

@ -9,6 +9,7 @@ dayjs.extend(utc)
module.exports = {
site: 'artonline.tv',
days: 2,
url: function ({ channel }) {
return `https://www.artonline.tv/Home/Tvlist${channel.site_id}`
},

View file

@ -8,6 +8,7 @@ const API_ENDPOINT = `https://contenthub-api.eco.astro.com.my`
module.exports = {
site: 'astro.com.my',
days: 2,
url: function ({ channel }) {
return `${API_ENDPOINT}/channel/${channel.site_id}.json`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'bein.com',
days: 2,
url: function ({ date, channel }) {
const [index] = channel.site_id.split('#')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'beinsports.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000, // 1h

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'bt.com',
days: 2,
url: function ({ date, channel }) {
return `https://voila.metabroadcast.com/4/schedules/${
channel.site_id

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'cablego.com.pe',
days: 2,
request: {
method: 'POST',
headers: {

View file

@ -7,6 +7,7 @@ dayjs.extend(utc)
module.exports = {
site: 'canalplus-afrique.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')

View file

@ -7,6 +7,7 @@ dayjs.extend(utc)
module.exports = {
site: 'canalplus-caraibes.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')

View file

@ -7,6 +7,7 @@ dayjs.extend(utc)
module.exports = {
site: 'canalplus-haiti.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')

View file

@ -6,6 +6,7 @@ dayjs.extend(utc)
module.exports = {
site: 'canalplus-reunion.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')

View file

@ -9,6 +9,7 @@ const API_KEY = 'da2291af3b10e9900d1c55e1a65d3388' // 10.2022
module.exports = {
site: 'canalplus.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'cgates.lt',
days: 2,
url: function ({ channel }) {
return `https://www.cgates.lt/tv-kanalai/${channel.site_id}/`
},

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'chaines-tv.orange.fr',
days: 2,
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
.add(1, 'd')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'clickthecity.com',
days: 2,
url({ channel }) {
return `https://www.clickthecity.com/tv/network/${channel.site_id}`
},

View file

@ -2,6 +2,7 @@ const parser = require('epg-parser')
module.exports = {
site: 'compulms.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'comteco.com.bo',
days: 2,
url: function ({ channel }) {
return `https://comteco.com.bo/pages/canales-y-programacion-tv/paquete-oro/${channel.site_id}`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'cosmote.gr',
days: 2,
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(
'DD-MM-YYYY'

View file

@ -3,6 +3,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'delta.nl',
days: 2,
url: function ({ channel, date }) {
return `https://clientapi.tv.delta.nl/guide/channels/list?start=${date.unix()}&end=${date
.add(1, 'd')

View file

@ -8,6 +8,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'digiturk.com.tr',
days: 2,
url: function ({ date, channel }) {
return `https://www.digiturk.com.tr/yayin-akisi/api/program/kanal/${
channel.site_id

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'directv.com.ar',
days: 2,
url: `https://www.directv.com.ar/guia/ChannelDetail.aspx/GetProgramming`,
request: {
method: 'POST',

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'directv.com.uy',
days: 2,
url: `https://www.directv.com.uy/guia/ChannelDetail.aspx/GetProgramming`,
request: {
method: 'POST',

View file

@ -8,6 +8,7 @@ dayjs.extend(utc)
module.exports = {
site: 'directv.com',
days: 2,
url({ channel, date }) {
return `https://www.directv.com/json/channelschedule?channels=${
channel.site_id

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'dishtv.in',
days: 2,
url: `https://www.dishtv.in/WhatsonIndiaWebService.asmx/LoadPagginResultDataForProgram`,
request: {
method: 'POST',

View file

@ -5,6 +5,7 @@ dayjs.extend(utc)
module.exports = {
site: 'dsmart.com.tr',
days: 2,
url({ date, channel }) {
return `https://www.dsmart.com.tr/api/v1/public/epg/schedules?page=1&limit=500&day=${date.format(
'YYYY-MM-DD'

View file

@ -12,6 +12,7 @@ const API_ENDPOINT = 'https://www.dstv.com/umbraco/api/TvGuide'
module.exports = {
site: 'dstv.com',
days: 2,
request: {
cache: {
ttl: 3 * 60 * 60 * 1000, // 3h

View file

@ -11,6 +11,7 @@ dayjs.extend(utc)
module.exports = {
site: 'elcinema.com',
days: 2,
url({ channel }) {
const lang = channel.lang === 'en' ? 'en/' : '/'

View file

@ -12,6 +12,7 @@ const API_ENDPOINT = 'http://epg.i-cable.com/ci/channel'
module.exports = {
site: 'epg.i-cable.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1h

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'foxsports.com.au',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -5,6 +5,7 @@ const cheerio = require('cheerio')
module.exports = {
skip: true, // returns "Access Denied" or nothing
site: 'foxtel.com.au',
days: 2,
url({ channel, date }) {
return `https://www.foxtel.com.au/tv-guide/channel/${channel.site_id}/${date.format(
'YYYY/MM/DD'

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'frikanalen.no',
days: 2,
url({ date }) {
return `https://frikanalen.no/api/scheduleitems/?date=${date.format(
'YYYY-MM-DD'

View file

@ -9,6 +9,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'gatotv.com',
days: 2,
url: function ({ channel, date }) {
return `https://www.gatotv.com/canal/${channel.site_id}/${date.format('YYYY-MM-DD')}`
},

View file

@ -13,6 +13,7 @@ dayjs.extend(isoWeek)
module.exports = {
site: 'getafteritmedia.com',
days: 2,
url: 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQcDmb9OnO0HpbjINfGaepqgGTp3VSmPs7hs654n3sRKrq4Q9y6uPSEvVvq9MwTLYG_n_V7vh0rFYP9/pubhtml',
parser({ content, channel, date }) {
const programs = []

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'guidatv.sky.it',
days: 2,
url: function ({ date, channel }) {
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

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'guide.dstv.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000,

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'hd-plus.de',
days: 2,
url({ date, channel }) {
const today = dayjs().utc().startOf('d')
const day = date.diff(today, 'd')

View file

@ -5,6 +5,7 @@ const API_ENDPOINT = `https://legacy-static.oesp.horizon.tv/oesp/v4`
module.exports = {
site: 'horizon.tv',
days: 2,
url: function ({ date, channel }) {
const [country, lang] = channel.site_id.split('#')

View file

@ -11,6 +11,7 @@ const API_ENDPOINT = 'https://raw.githubusercontent.com/matthuisman/i.mjh.nz/mas
module.exports = {
site: 'i.mjh.nz',
days: 2,
request: {
cache: {
ttl: 3 * 60 * 60 * 1000 // 3h

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'i24news.tv',
days: 2,
url: function ({ channel }) {
const [lang] = channel.site_id.split('#')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'ionplustv.com',
days: 2,
url({ date }) {
return `https://ionplustv.com/schedule/${date.format('YYYY-MM-DD')}`
},

View file

@ -5,6 +5,7 @@ dayjs.extend(utc)
module.exports = {
site: 'ipko.com',
days: 2,
url: function ({ date }) {
return `https://www.ipko.com/epg/admin/programs.php?date=${date.format('YYYY-MM-DD')}`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
skip: true, // INFO: Request failed with status code 403 (Access denied)
site: 'kan.org.il',
days: 2,
url: function ({ channel, date }) {
return `https://www.kan.org.il/tv-guide/tv_guidePrograms.ashx?stationID=${
channel.site_id

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'knr.gl',
days: 2,
url({ date }) {
return `https://knr.gl/admin/knr/TV/program/${date.format('YYYY-MM-DD')}/gl`
},

View file

@ -10,6 +10,7 @@ const API_ENDPOINT = `https://www.kplus.vn/Schedule/getSchedule`
module.exports = {
site: 'kplus.vn',
days: 2,
skip: true, // channel list changes with each request
url: API_ENDPOINT,
request: {

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'kvf.fo',
days: 2,
url({ date }) {
return `https://kvf.fo/nskra/sv?date=${date.format('YYYY-MM-DD')}`
},

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'm.tv.sms.cz',
days: 2,
url: function ({ date, channel }) {
return `https://m.tv.sms.cz/index.php?stanice=${channel.site_id}&cas=0&den=${date.format(
'YYYY-MM-DD'

View file

@ -6,6 +6,7 @@ const API_PROD_ENDPOINT = 'https://prod.spark.magentatv.at/deu/web/linear-servic
module.exports = {
site: 'magentatv.at',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -7,6 +7,7 @@ const COOKIE =
module.exports = {
site: 'magentatv.de',
days: 2,
skip: true, // the site uses a constantly updated session ID
url: `https://api.prod.sngtv.magentatv.de/EPG/JSON/PlayBillList`,
request: {

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'magticom.ge',
days: 2,
url: 'https://www.magticom.ge/request/channel-program.php',
request: {
method: 'POST',

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mako.co.il',
days: 2,
url: 'https://www.mako.co.il/AjaxPage?jspName=EPGResponse.jsp',
parser: function ({ content, date }) {
let programs = []

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'maxtv.hrvatskitelekom.hr',
days: 2,
url: 'https://player.maxtvtogo.tportal.hr:8082/OTT4Proxy/proxy/epg/shows',
request: {
method: 'POST',

View file

@ -6,6 +6,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'maxtvgo.mk',
days: 2,
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/${
channel.site_id

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'mbc.net',
days: 2,
skip: true, // NOTE: there is no program on the site
url({ date, channel }) {
return `https://www.mbc.net/.rest/api/channel/grids?from=${date.valueOf()}&to=${date

View file

@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mediaklikk.hu',
days: 2,
url: 'https://mediaklikk.hu/wp-content/plugins/hms-global-widgets/widgets/programGuide/programGuideInterface.php',
request: {
method: 'POST',

View file

@ -7,6 +7,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mediaset.it',
days: 2,
url: function ({ date, channel }) {
return `http://www.mediaset.it/guidatv/inc/canali/${date.format('YYYYMM')}/${date.format(
'YYYYMMDD'

View file

@ -3,6 +3,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'melita.com',
days: 2,
url: function ({ channel, date }) {
return `https://androme.melitacable.com/api/epg/v1/schedule/channel/${
channel.site_id

View file

@ -9,6 +9,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'meo.pt',
days: 2,
url: `https://www.meo.pt/_layouts/15/Ptsi.Isites.GridTv/GridTvMng.asmx/getProgramsFromChannels`,
request: {
method: 'POST',

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'mewatch.sg',
days: 2,
url: function ({ channel, date }) {
return `https://cdn.mewatch.sg/api/schedules?channels=${channel.site_id}&date=${date.format(
'YYYY-MM-DD'

View file

@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mi.tv',
days: 2,
url({ date, channel }) {
const [country, id] = channel.site_id.split('#')

View file

@ -12,6 +12,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mncvision.id',
days: 2,
url: 'https://mncvision.id/schedule/table',
request: {
method: 'POST',

View file

@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'movistarplus.es',
days: 2,
url: function ({ date }) {
return `https://www.movistarplus.es/programacion-tv/${date.format('YYYY-MM-DD')}?v=json`
},

View file

@ -5,6 +5,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'mtel.ba',
days: 2,
url: function ({ channel, date }) {
const [position] = channel.site_id.split('#')

View file

@ -7,6 +7,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'mts.rs',
days: 2,
url({ date, channel }) {
const [position] = channel.site_id.split('#')

View file

@ -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}`

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'musor.tv',
days: 2,
url({ channel, date }) {
return dayjs.utc().isSame(date, 'd')
? `https://musor.tv/mai/tvmusor/${channel.site_id}`

View file

@ -8,6 +8,7 @@ dayjs.extend(utc)
module.exports = {
site: 'myafn.dodmedia.osd.mil',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'mysky.com.ph',
days: 2,
url: 'https://skyepg.mysky.com.ph/Main/getEventsbyType',
request: {
cache: {

View file

@ -10,6 +10,7 @@ const API_ENDPOINT = 'https://content-api.mytvsuper.com/v1'
module.exports = {
site: 'mytvsuper.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1h

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'novacyprus.com',
days: 2,
url({ channel, date }) {
return `https://www.novacyprus.com/api/v1/tvprogram/from/${date.format('YYYYMMDD')}/to/${date
.add(1, 'd')

View file

@ -9,6 +9,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'novasports.gr',
days: 2,
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(
'YYYY-MM-DD'

View file

@ -7,6 +7,7 @@ dayjs.extend(utc)
module.exports = {
site: 'nowplayer.now.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd') + 1

View file

@ -17,6 +17,7 @@ const tz = {
module.exports = {
site: 'ontvtonight.com',
days: 2,
url: function ({ date, channel }) {
const [region, id] = channel.site_id.split('#')
let url = `https://www.ontvtonight.com`

View file

@ -7,6 +7,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'osn.com',
days: 2,
url: `https://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsProgramTimeTable`,
request: {
method: 'POST',

View file

@ -4,7 +4,8 @@ const isBetween = require('dayjs/plugin/isBetween')
dayjs.extend(isBetween)
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/',
parser: function ({ content, date }) {
let programs = []

View file

@ -5,6 +5,7 @@ const API_ENDPOINT = 'https://epg.provider.plex.tv'
module.exports = {
site: 'plex.tv',
days: 2,
request: {
headers: {
'x-plex-provider-version': '5.1'

View file

@ -8,6 +8,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'programacion-tv.elpais.com',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -5,6 +5,7 @@ dayjs.extend(utc)
module.exports = {
site: 'programetv.ro',
days: 2,
url: function ({ date, channel }) {
const daysOfWeek = {
0: 'duminica',

View file

@ -12,6 +12,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'programme-tv.net',
days: 2,
url: function ({ date, channel }) {
return `https://www.programme-tv.net/programme/chaine/${date.format('YYYY-MM-DD')}/programme-${
channel.site_id

View file

@ -5,6 +5,7 @@ const apiUrl = `https://programme-tv.vini.pf/programmesJSON`
module.exports = {
site: 'programme-tv.vini.pf',
days: 2,
url: apiUrl,
request: {
method: 'POST',

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'programme.tvb.com',
days: 2,
url: function ({ channel, date }) {
return `https://programme.tvb.com/ajax.php?action=channellist&code=${
channel.site_id

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
delay: 5000,
site: 'programtv.onet.pl',
days: 2,
url: function ({ date, channel }) {
const currDate = dayjs.utc().startOf('d')
const day = date.diff(currDate, 'd')

View file

@ -3,6 +3,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'proximusmwc.be',
days: 2,
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',
request: {

View file

@ -9,6 +9,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'raiplay.it',
days: 2,
url: function ({ date, channel }) {
return `https://www.raiplay.it/palinsesto/app/${channel.site_id}/${date.format(
'DD-MM-YYYY'

View file

@ -13,6 +13,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'reportv.com.ar',
days: 2,
request: {
cache: {
ttl: 60 * 60 * 1000 // 1 hour

View file

@ -9,6 +9,7 @@ dayjs.extend(timezone)
module.exports = {
site: 'rev.bs',
days: 2,
url: function ({ date }) {
return `https://www.rev.bs/wp-content/uploads/tv-guide/${date.format('YYYY-MM-DD')}_0.json`
},

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'rotana.net',
days: 2,
skip: true, // NOTE: there is no program for the current date on the site
url({ channel, date }) {
return `https://rotana.net/triAssets/uploads/2020/11/${channel.site_id}.csv`

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
skip: true, // INFO: guide is not available on the site
site: 'rtb.gov.bn',
days: 2,
url: function ({ channel, date }) {
const [position] = channel.site_id.split('#')

View file

@ -11,6 +11,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'rthk.hk',
days: 2,
request: {
headers({ channel }) {
return {

View file

@ -9,6 +9,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'rtmklik.rtm.gov.my',
days: 2,
url: function ({ date, channel }) {
return `https://rtm.glueapi.io/v3/epg/${
channel.site_id

View file

@ -17,9 +17,12 @@ const tz = {
module.exports = {
site: 'rtp.pt',
days: 2,
url({ channel, date }) {
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 }) {
let programs = []

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'ruv.is',
days: 2,
url({ channel, date }) {
return `https://www.ruv.is/sjonvarp/dagskra/${channel.site_id}/${date.format('YYYY-MM-DD')}`
},

View file

@ -10,6 +10,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'seezntv.com',
days: 2,
url: function ({ channel }) {
return `https://api.seezntv.com/svc/menu/app6/api/epg_proglist?ch_no=${channel.site_id}&search_day=1`
},

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'siba.com.co',
days: 2,
url: 'http://devportal.siba.com.co/index.php?action=grilla',
request: {
method: 'POST',

View file

@ -8,6 +8,7 @@ dayjs.extend(customParseFormat)
module.exports = {
site: 'sjonvarp.is',
days: 2,
url: function ({ channel, date }) {
return `http://www.sjonvarp.is/index.php?Tm=%3F&p=idag&c=${channel.site_id}&y=${date.format(
'YYYY'

View file

@ -2,6 +2,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'sky.com',
days: 2,
url: function ({ date, channel }) {
return `https://epgservices.sky.com/5.2.2/api/2.0/channel/json/${
channel.site_id

Some files were not shown because too many files have changed in this diff Show more