From 450e980f9b20245ff422d481664c3dcf84cb6a80 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:51:45 +0300 Subject: [PATCH 1/6] Create content.html --- sites/cableplus.com.uy/__data__/content.html | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sites/cableplus.com.uy/__data__/content.html diff --git a/sites/cableplus.com.uy/__data__/content.html b/sites/cableplus.com.uy/__data__/content.html new file mode 100644 index 00000000..67671f6f --- /dev/null +++ b/sites/cableplus.com.uy/__data__/content.html @@ -0,0 +1,3 @@ + +
Canal
Ahora
Pr�ximo
M�s tarde
Música tropical uruguaya
11-02 22:00hs.
Revista agropecuaria
Revista agropecuaria
12-02 06:30hs.
Mundo cooperativo
Mundo cooperativo
12-02 07:30hs.
A+V Agropecuario
A+V Agropecuario
12-02 08:00hs.
Canto de aquí nomás
Canto de aquí nomás
12-02 08:30hs.

+ \ No newline at end of file From 1a435bbeaac11378e054514202c81fa06120826f Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:51:47 +0300 Subject: [PATCH 2/6] Create no_content.html --- .../cableplus.com.uy/__data__/no_content.html | 705 ++++++++++++++++++ 1 file changed, 705 insertions(+) create mode 100644 sites/cableplus.com.uy/__data__/no_content.html diff --git a/sites/cableplus.com.uy/__data__/no_content.html b/sites/cableplus.com.uy/__data__/no_content.html new file mode 100644 index 00000000..34c1c7a1 --- /dev/null +++ b/sites/cableplus.com.uy/__data__/no_content.html @@ -0,0 +1,705 @@ + +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 1

+

Filename: channel/channel.php

+

Line Number: 82

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 84

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 87

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 110

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 110

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 128

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 129

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 140

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 141

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 141

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 2

+

Filename: channel/channel.php

+

Line Number: 82

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 84

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 87

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 110

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 110

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 112

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 128

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 129

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 140

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 141

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 141

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 1

+

Filename: channel/channel.php

+

Line Number: 262

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 264

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 267

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 310

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 311

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 322

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 2

+

Filename: channel/channel.php

+

Line Number: 262

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 264

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 267

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 310

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 311

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 322

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 3

+

Filename: channel/channel.php

+

Line Number: 262

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 264

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 267

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 310

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 311

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 322

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined offset: 4

+

Filename: channel/channel.php

+

Line Number: 262

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'tituloAlternativo' of non-object

+

Filename: channel/channel.php

+

Line Number: 264

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: First parameter must either be an object or the name of an existing class

+

Filename: channel/channel.php

+

Line Number: 267

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'titulo' of non-object

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Warning

+

Message: Creating default object from empty value

+

Filename: channel/channel.php

+

Line Number: 291

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$idPautado

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 293

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 310

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 311

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$fechaInicio

+

Filename: channel/channel.php

+

Line Number: 322

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Undefined property: stdClass::$programa

+

Filename: channel/channel.php

+

Line Number: 324

+ +
+ +

A PHP Error was encountered

+ +

Severity: Notice

+

Message: Trying to get property 'idPrograma' of non-object

+

Filename: channel/channel.php

+

Line Number: 324

+ +
Canal
Ahora
Pr�ximo
M�s tarde
Música tropical uruguaya
28-02 22:00hs.

08-02 04:24hs.

08-02 04:24hs.

08-02 04:24hs.

08-02 04:24hs.

+ \ No newline at end of file From f7eb3b39a75dbf7313b9ab1d8a160ced5a5da2bf Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:52:02 +0300 Subject: [PATCH 3/6] Create cableplus.com.uy.test.js --- .../cableplus.com.uy/cableplus.com.uy.test.js | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 sites/cableplus.com.uy/cableplus.com.uy.test.js diff --git a/sites/cableplus.com.uy/cableplus.com.uy.test.js b/sites/cableplus.com.uy/cableplus.com.uy.test.js new file mode 100644 index 00000000..06459f4c --- /dev/null +++ b/sites/cableplus.com.uy/cableplus.com.uy.test.js @@ -0,0 +1,76 @@ +// npm run channels:parse -- --config=./sites/cableplus.com.uy/cableplus.com.uy.config.js --output=./sites/cableplus.com.uy/cableplus.com.uy.channels.xml +// npx epg-grabber --config=sites/cableplus.com.uy/cableplus.com.uy.config.js --channels=sites/cableplus.com.uy/cableplus.com.uy.channels.xml --output=guide.xml --days=2 + +const { parser, url, request } = require('./cableplus.com.uy.config.js') +const fs = require('fs') +const path = require('path') +const dayjs = require('dayjs') +const utc = require('dayjs/plugin/utc') +const customParseFormat = require('dayjs/plugin/customParseFormat') +dayjs.extend(customParseFormat) +dayjs.extend(utc) + +const date = dayjs.utc('2023-02-12', 'YYYY-MM-DD').startOf('d') +const channel = { + site_id: '2035', + xmltv_id: 'APlusV.uy' +} + +it('can generate valid url', () => { + expect(url).toBe('https://www.reportv.com.ar/finder/channel') +}) + +it('can generate valid request method', () => { + expect(request.method).toBe('POST') +}) + +it('can generate valid request headers', () => { + expect(request.headers).toMatchObject({ + 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' + }) +}) + +it('can generate valid request data', () => { + const params = request.data({ date, channel }) + + expect(params.get('idAlineacion')).toBe('3017') + expect(params.get('idSenial')).toBe('2035') + expect(params.get('fecha')).toBe('2023-02-12') + expect(params.get('hora')).toBe('00:00') +}) + +it('can parse response', () => { + const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.html'), 'utf8') + let results = parser({ content, date }) + results = results.map(p => { + p.start = p.start.toJSON() + p.stop = p.stop.toJSON() + return p + }) + + expect(results.length).toBe(21) + + expect(results[0]).toMatchObject({ + start: '2023-02-12T09:30:00.000Z', + stop: '2023-02-12T10:30:00.000Z', + title: `Revista agropecuaria`, + icon: 'https://www.reportv.com.ar/buscador/img/Programas/2797844.jpg', + categories: [] + }) + + expect(results[4]).toMatchObject({ + start: '2023-02-12T12:30:00.000Z', + stop: '2023-02-12T13:30:00.000Z', + title: `De pago en pago`, + icon: 'https://www.reportv.com.ar/buscador/img/Programas/3772835.jpg', + categories: ['Cultural'] + }) +}) + +it('can handle empty guide', () => { + const result = parser({ + date, + content: fs.readFileSync(path.resolve(__dirname, '__data__/no_content.html'), 'utf8') + }) + expect(result).toMatchObject([]) +}) From b3f7281238f741d12dfdc077e8c65abb790ecfc5 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:52:08 +0300 Subject: [PATCH 4/6] Create cableplus.com.uy.config.js --- .../cableplus.com.uy.config.js | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 sites/cableplus.com.uy/cableplus.com.uy.config.js diff --git a/sites/cableplus.com.uy/cableplus.com.uy.config.js b/sites/cableplus.com.uy/cableplus.com.uy.config.js new file mode 100644 index 00000000..1b7df7fd --- /dev/null +++ b/sites/cableplus.com.uy/cableplus.com.uy.config.js @@ -0,0 +1,133 @@ +const cheerio = require('cheerio') +const axios = require('axios') +const dayjs = require('dayjs') +const utc = require('dayjs/plugin/utc') +const timezone = require('dayjs/plugin/timezone') +const customParseFormat = require('dayjs/plugin/customParseFormat') + +dayjs.extend(utc) +dayjs.extend(timezone) +dayjs.extend(customParseFormat) + +const API_ENDPOINT = 'https://www.reportv.com.ar/finder' + +module.exports = { + site: 'cableplus.com.uy', + days: 2, + url: `${API_ENDPOINT}/channel`, + request: { + method: 'POST', + headers: { + 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' + }, + data({ date, channel }) { + const params = new URLSearchParams() + params.append('idAlineacion', '3017') + params.append('idSenial', channel.site_id) + params.append('fecha', date.format('YYYY-MM-DD')) + params.append('hora', '00:00') + + return params + } + }, + parser({ content, date }) { + const programs = [] + const items = parseItems(content, date) + items.forEach(item => { + const $item = cheerio.load(item) + const prev = programs[programs.length - 1] + let start = parseStart($item, date) + if (prev) { + if (start.isBefore(prev.start)) { + start = start.add(1, 'd') + date = date.add(1, 'd') + } + prev.stop = start + } + const stop = start.add(30, 'm') + programs.push({ + title: parseTitle($item), + categories: parseCategories($item), + icon: parseIcon($item), + start, + stop + }) + }) + + return programs + }, + async channels() { + const params = new URLSearchParams({ idAlineacion: '3017' }) + const data = await axios + .post(`${API_ENDPOINT}/channelGrid`, params, { + headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' } + }) + .then(r => r.data) + .catch(console.error) + const $ = cheerio.load(data) + + return $('.senial') + .map(function () { + return { + lang: 'es', + site_id: $(this).attr('id'), + name: $(this).find('img').attr('alt') + } + }) + .get() + } +} + +function parseTitle($item) { + return $item('p.evento_titulo.texto_a_continuacion.dotdotdot,.programa-titulo > span:first-child') + .text() + .trim() +} + +function parseIcon($item) { + return $item('img').data('src') || $item('img').attr('src') || null +} + +function parseCategories($item) { + return $item('p.evento_genero') + .map(function () { + return $item(this).text().trim() + }) + .toArray() +} + +function parseStart($item, date) { + let time = $item('.grid_fecha_hora').text().trim() + + if (time) { + return dayjs.tz(`${date.format('YYYY')} ${time}`, 'YYYY DD-MM HH:mm[hs.]', 'America/Montevideo') + } + + time = $item('.fechaHora').text().trim() + + return time + ? dayjs.tz(`${date.format('YYYY')} ${time}`, 'YYYY DD/MM HH:mm[hs.]', 'America/Montevideo') + : null +} + +function parseItems(content, date) { + const $ = cheerio.load(content) + + let featuredItems = $('.vista-pc > .programacion-fila > .channel-programa') + .filter(function () { + return $(this).find(`.grid_fecha_hora`).text().indexOf(date.format('DD-MM')) > -1 + }) + .toArray() + let otherItems = $(`#owl-pc > .item-program`) + .filter(function () { + return ( + $(this) + .find(`.evento_titulo > .horario > p.fechaHora`) + .text() + .indexOf(date.format('DD/MM')) > -1 + ) + }) + .toArray() + + return featuredItems.concat(otherItems) +} From ad03175cb36b97f172cc8227e57d760f5db75842 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:52:12 +0300 Subject: [PATCH 5/6] Create cableplus.com.uy.channels.xml --- .../cableplus.com.uy.channels.xml | 163 ++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 sites/cableplus.com.uy/cableplus.com.uy.channels.xml diff --git a/sites/cableplus.com.uy/cableplus.com.uy.channels.xml b/sites/cableplus.com.uy/cableplus.com.uy.channels.xml new file mode 100644 index 00000000..dd233e7a --- /dev/null +++ b/sites/cableplus.com.uy/cableplus.com.uy.channels.xml @@ -0,0 +1,163 @@ + + + + 360 TV + A24 + AMERICA SPORTS + A+V + ARGENTINISIMA + BBC WORLD + BYUTV + SAETA + CANAL 26 + TV NACIONAL + CANAL 7 PUNTA DEL ESTE + CANAL RURAL + CARDINAL TV + CHARRUA TV + CLAN HD + CNN EN ESPAÑOL + CRONICA + DEUTSCHE WELLE (DEUTSCH+) + DW ESPAÑOL + CANAL DE LA REGIÓN + EL GARAGE + CANAL VASCO + FRANCE 24 ESPAÑOL + FRANCE 24 FRANCES + GALICIA TV + GOL TV + HBO MUNDI + HBO POP + HBO SIGNATURE + LA NACION + + MAROÑAS + PX SPORTS HD + RAI + RT TV + SIEMPRE CINE + SUN CHANNEL HD + TELEDOCE + TOONCAST + TRU TV + TEVECIUDAD + TVN CHILE + TV PUBLICA ARG + UCL + VTV + VTV + + WOBI TV + ZOOMOO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 25120f1e2f2cfd1c2410119cae1eb0ddd08250d8 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 8 Feb 2023 14:52:18 +0300 Subject: [PATCH 6/6] Create cableplus.com.uy.yml --- .github/workflows/cableplus.com.uy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cableplus.com.uy.yml diff --git a/.github/workflows/cableplus.com.uy.yml b/.github/workflows/cableplus.com.uy.yml new file mode 100644 index 00000000..5e9c8245 --- /dev/null +++ b/.github/workflows/cableplus.com.uy.yml @@ -0,0 +1,17 @@ +name: cableplus.com.uy +on: + schedule: + - cron: '0 3 * * *' + workflow_dispatch: + workflow_run: + workflows: [_trigger] + types: + - completed +jobs: + load: + uses: ./.github/workflows/_load.yml + with: + site: ${{github.workflow}} + secrets: + APP_ID: ${{ secrets.APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}