From ce75776540c9df2255b0a539144b536e13c417d0 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Nov 2022 13:10:36 +0300 Subject: [PATCH 1/5] Create __data__/ --- sites/tv.movistar.com.pe/__data__/content.json | 1 + sites/tv.movistar.com.pe/__data__/no_content.json | 1 + 2 files changed, 2 insertions(+) create mode 100644 sites/tv.movistar.com.pe/__data__/content.json create mode 100644 sites/tv.movistar.com.pe/__data__/no_content.json diff --git a/sites/tv.movistar.com.pe/__data__/content.json b/sites/tv.movistar.com.pe/__data__/content.json new file mode 100644 index 00000000..0444acb7 --- /dev/null +++ b/sites/tv.movistar.com.pe/__data__/content.json @@ -0,0 +1 @@ +{"Content":[{"Pid":"LSC540274661","Title":"Willax noticias edición central","Description":"Edición central con el desarrollo y cobertura noticiosa de todos los acontecimientos nacionales e internacionales.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669679400,"End":1669683000,"AgeRatingPid":"AGE114","GenrePids":["GEN1130"],"ActorPids":["PER170727","PER430678"],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13003906_281B2DAB18B01955.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343306","Title":"Camotillo, el tinterillo","Description":"Un programa de humor político, sátira y actualidad.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669683000,"End":1669683300,"AgeRatingPid":"AGE114","GenrePids":["GEN2"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/01/13014734_443368E037646E9F.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343314","Title":"Milagros Leiva: Entrevista","Description":"Un espacio para conversar sobre actualidad, política y lo más destacado del acontecer nacional e internacional.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669683300,"End":1669686900,"AgeRatingPid":"AGE114","GenrePids":["GEN654"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/12/99/12998048_0C86A8AE822540EE.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343324","Title":"Beto a saber","Description":"Un programa de entrevistas, opinión y análisis.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669686900,"End":1669690800,"AgeRatingPid":"AGE116","GenrePids":["GEN654","GEN787","GEN982"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/12/99/12996624_6345A4F1E615C4B6.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343315","Title":"Yo caviar con Aldo Mariátegui","Description":"Programa que trata temas de la coyuntura política nacional e internacional.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669690800,"End":1669691100,"AgeRatingPid":"AGE116","GenrePids":["GEN787"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/01/13014490_155591CF37B08EA5.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343316","Title":"Combutters","Description":"Desde un sótano que simula ser un centro de control y laboratorio, Phillips maquinará todas sus ideas y recibirá a sus invitados.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669691100,"End":1669694700,"AgeRatingPid":"AGE116","GenrePids":["GEN787"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/12/99/12997560_72A86D97A9149463.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343317","Title":"Willax deportes","Description":"Programa de análisis deportivos, comentarios y entrevistas.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669694700,"End":1669698000,"AgeRatingPid":"AGE116","GenrePids":["GEN654","GEN665"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13001518_DF1EE231E8E88522.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343318","Title":"La milenaria","Description":"Las propiedades nutritivas que brindan los alimentos oriundos del Perú y Sudamérica, para conocer lo mejor de la medicina natural y el tratamiento holístico.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669698000,"End":1669701600,"AgeRatingPid":"AGE116","GenrePids":["GEN650"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/01/13012931_0A9BACE6E3E4EE91.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343313","Title":"Programa pagado","Description":"Programa que muestra diversos productos para la venta.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669701600,"End":1669719600,"AgeRatingPid":"AGE116","GenrePids":[],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13009738_E6AA8352044BC855.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343319","Title":"PBO digital","Description":"Información actualizada de los acontecimientos nacionales e internacionales, efemérides, deportes y mucho más.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669719600,"End":1669734000,"AgeRatingPid":"AGE114","GenrePids":["GEN1130"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/12/99/12993067_5A8EF92FEBCB9518.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343320","Title":"El Dr. Borda","Description":"Un programa que busca preservar la salud y promover el bienestar. Se abordan diferentes temas médicos y se aclaran las inquietudes de los televidentes sobre temas de salud.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669734000,"End":1669739400,"AgeRatingPid":"AGE114","GenrePids":["GEN650"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/12/99/12999712_7D6265167374B2FD.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343308","Title":"Pedro el escamoso","Description":"Un hombre llega a la ciudad en busca de un mejor futuro, trabaja como chofer en una empresa y se enamora de la secretaria de su jefe.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669739400,"End":1669741200,"AgeRatingPid":"AGE114","GenrePids":["GEN2","GEN6","GEN981"],"ActorPids":["PER195281","PER500922","PER88307","PER185347","PER107340","PER69570","PER17449","PER172278","PER60376","PER110145","PER50611","PER192111","PER172932"],"CreatorPids":[],"DirectorPids":["PER167036"],"WriterPids":[],"ProducerPids":["PER407186","PER54178"],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13006893_A40CAFD9DB3A6411.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343311","Title":"Santa Natura emprende","Description":"Un programa que cuenta con recetas caseras, consejos sobre salud y un gran proyecto de emprendimiento.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669741200,"End":1669743000,"AgeRatingPid":"AGE114","GenrePids":["GEN650","GEN732"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/15/13152349_E287A19A4BF9EA0D.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343322","Title":"Willax noticias edición mediodía","Description":"Noticiero del mediodía con el avance de los hechos más relevantes de la jornada periodística.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669743000,"End":1669747800,"AgeRatingPid":"AGE114","GenrePids":["GEN1130"],"ActorPids":["PER170663","PER170727","PER430666"],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13003905_697F2C74F27556D2.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343323","Title":"Amor y fuego","Description":"Un espacio para la diversión con todas las novedades del mundo del espectáculo.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669747800,"End":1669756200,"AgeRatingPid":"AGE114","GenrePids":["GEN286"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/01/13012276_C1E8D9E9C6A3848B.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343321","Title":"Un día en el mall","Description":"Los mejores consejos en moda, familia, salud, belleza y tips para el hogar. Además, invitados especiales.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669756200,"End":1669759500,"AgeRatingPid":"AGE114","GenrePids":["GEN286","GEN734"],"ActorPids":[],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/01/13012925_2E395F2BEA3706D3.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343309","Title":"Pedro el escamoso","Description":"Un hombre llega a la ciudad en busca de un mejor futuro, trabaja como chofer en una empresa y se enamora de la secretaria de su jefe.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669759500,"End":1669762500,"AgeRatingPid":"AGE114","GenrePids":["GEN2","GEN6","GEN981"],"ActorPids":["PER195281","PER500922","PER88307","PER185347","PER107340","PER69570","PER17449","PER172278","PER60376","PER110145","PER50611","PER192111","PER172932"],"CreatorPids":[],"DirectorPids":["PER167036"],"WriterPids":[],"ProducerPids":["PER407186","PER54178"],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13006893_A40CAFD9DB3A6411.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343307","Title":"Mi bella genio","Description":"Un astronauta descubre una botella mágica en una isla del Océano Pacífico.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669762500,"End":1669765800,"AgeRatingPid":"AGE114","GenrePids":["GEN1146"],"ActorPids":["PER7735","PER10250","PER154619","PER13964","PER10003"],"CreatorPids":[],"DirectorPids":["PER491347"],"WriterPids":[],"ProducerPids":["PER154619"],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13004149_0DEE5810DAF1DC6C.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}},{"Pid":"LSC540343325","Title":"Willax noticias edición central","Description":"Edición central con el desarrollo y cobertura noticiosa de todos los acontecimientos nacionales e internacionales.","ChannelName":"WILLAX","LiveChannelPid":"LCH2219","Start":1669765800,"End":1669769400,"AgeRatingPid":"AGE114","GenrePids":["GEN1130"],"ActorPids":["PER170727","PER430678"],"CreatorPids":[],"DirectorPids":[],"WriterPids":[],"ProducerPids":[],"Images":{"VideoFrame":[{"Url":"http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13003906_281B2DAB18B01955.jpg","SourceImageWidth":1920,"SourceImageHeight":1080,"SourceImageFormat":"Jpeg","ImageClass":"0"}]}}],"HttpStatusCode":200,"Severity":1,"StatusCode":0,"StatusMessage":"OK"} \ No newline at end of file diff --git a/sites/tv.movistar.com.pe/__data__/no_content.json b/sites/tv.movistar.com.pe/__data__/no_content.json new file mode 100644 index 00000000..b1eca94d --- /dev/null +++ b/sites/tv.movistar.com.pe/__data__/no_content.json @@ -0,0 +1 @@ +{"Content":[],"HttpStatusCode":200,"Severity":1,"StatusCode":0,"StatusMessage":"OK"} \ No newline at end of file From 4d4e20869facf8dfcf80f778767db0cc03c34674 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Nov 2022 13:10:49 +0300 Subject: [PATCH 2/5] Create tv.movistar.com.pe.test.js --- .../tv.movistar.com.pe.test.js | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sites/tv.movistar.com.pe/tv.movistar.com.pe.test.js diff --git a/sites/tv.movistar.com.pe/tv.movistar.com.pe.test.js b/sites/tv.movistar.com.pe/tv.movistar.com.pe.test.js new file mode 100644 index 00000000..317c057a --- /dev/null +++ b/sites/tv.movistar.com.pe/tv.movistar.com.pe.test.js @@ -0,0 +1,47 @@ +// npm run channels:parse -- --config=./sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js --output=./sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml +// npx epg-grabber --config=sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js --channels=sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml --output=guide.xml --days=2 + +const { parser, url, request } = require('./tv.movistar.com.pe.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('2022-11-29', 'YYYY-MM-DD').startOf('d') +const channel = { + site_id: 'lch2219', + xmltv_id: 'WillaxTV.pe' +} + +it('can generate valid url', () => { + expect(url({ channel, date })).toBe( + 'https://contentapi-pe.cdn.telefonica.com/28/default/es-PE/schedules?fields=Pid,Title,Description,ChannelName,LiveChannelPid,Start,End,images.videoFrame,AgeRatingPid&orderBy=START_TIME%3Aa&filteravailability=false&starttime=1669680000&endtime=1669766400&livechannelpids=lch2219' + ) +}) + +it('can parse response', () => { + const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.json')) + let results = parser({ content, channel, date }).map(p => { + p.start = p.start.toJSON() + p.stop = p.stop.toJSON() + return p + }) + + expect(results[0]).toMatchObject({ + start: '2022-11-28T23:50:00.000Z', + stop: '2022-11-29T00:50:00.000Z', + title: 'Willax noticias edición central', + description: + 'Edición central con el desarrollo y cobertura noticiosa de todos los acontecimientos nacionales e internacionales.', + icon: 'http://media.gvp.telefonica.com/storagearea0/IMAGES/00/13/00/13003906_281B2DAB18B01955.jpg' + }) +}) + +it('can handle empty guide', () => { + const content = fs.readFileSync(path.resolve(__dirname, '__data__/no_content.json')) + const result = parser({ content, channel, date }) + expect(result).toMatchObject([]) +}) From 1b571476266cdd154b9053b35d66485d8dc1f9cf Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Nov 2022 13:10:54 +0300 Subject: [PATCH 3/5] Create tv.movistar.com.pe.config.js --- .../tv.movistar.com.pe.config.js | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js diff --git a/sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js b/sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js new file mode 100644 index 00000000..2e3d52eb --- /dev/null +++ b/sites/tv.movistar.com.pe/tv.movistar.com.pe.config.js @@ -0,0 +1,56 @@ +const dayjs = require('dayjs') +const axios = require('axios') + +module.exports = { + site: 'tv.movistar.com.pe', + url({ channel, date }) { + return `https://contentapi-pe.cdn.telefonica.com/28/default/es-PE/schedules?fields=Pid,Title,Description,ChannelName,LiveChannelPid,Start,End,images.videoFrame,AgeRatingPid&orderBy=START_TIME%3Aa&filteravailability=false&starttime=${date.unix()}&endtime=${date + .add(1, 'd') + .unix()}&livechannelpids=${channel.site_id}` + }, + parser({ content, channel }) { + let programs = [] + const items = parseItems(content, channel) + items.forEach(item => { + programs.push({ + title: item.Title, + description: item.Description, + icon: parseIcon(item), + start: parseTime(item.Start), + stop: parseTime(item.End) + }) + }) + + return programs + }, + async channels() { + const items = await axios + .get( + `https://contentapi-pe.cdn.telefonica.com/28/default/es-PE/contents/all?contentTypes=LCH&fields=Pid,Name&orderBy=contentOrder&limit=1000` + ) + .then(r => r.data.Content.List) + .catch(console.error) + + return items.map(i => { + return { + lang: 'es', + name: i.Name, + site_id: i.Pid.toLowerCase() + } + }) + } +} + +function parseIcon(item) { + return item.Images?.VideoFrame?.[0]?.Url +} + +function parseTime(timestamp) { + return dayjs.unix(timestamp) +} + +function parseItems(content, channel) { + const data = JSON.parse(content) + + return data.Content || [] +} From 1ef506e075b0ba5f9e29c120ba125228ea0cebb4 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Nov 2022 13:11:01 +0300 Subject: [PATCH 4/5] Create tv.movistar.com.pe_pe.channels.xml --- .../tv.movistar.com.pe_pe.channels.xml | 244 ++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml diff --git a/sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml b/sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml new file mode 100644 index 00000000..2776fb6d --- /dev/null +++ b/sites/tv.movistar.com.pe/tv.movistar.com.pe_pe.channels.xml @@ -0,0 +1,244 @@ + + + + AMERICA TELEVISION + ANTENA 3 + ATV + ATV+ + AZ Cinema HD + AZ CORAZON + AZ MUNDO + CANAL J + CANAL N + CONGRESO + EL TIEMPO + EUROCHANNEL + Europa Europa HD + EXITOSA TV + GLOBAL TV + GOLPERU + JUSTICIA TV + KANAL D DRAMA + K-DRAMA + LATINA + LOLLY KIDS + Love Nature HD + M PLUS + PANAMERICANA TELEVISION + Pasiones HD + PAXTV + PX SPORTS + QUALITY CHANNEL + RAI ITALIA + RPP TV + SEXTREME + TOONCAST + TV CHILE + TV PERU + UCL + Universitario TV + USMP TV + VENUS + WILLAX + WOBI + ZEE MUNDO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a1fc3556831e30f29117ec83b4597e0d88260ea6 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 28 Nov 2022 13:11:07 +0300 Subject: [PATCH 5/5] Create tv.movistar.com.pe.yml --- .github/workflows/tv.movistar.com.pe.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/tv.movistar.com.pe.yml diff --git a/.github/workflows/tv.movistar.com.pe.yml b/.github/workflows/tv.movistar.com.pe.yml new file mode 100644 index 00000000..5cb4cb88 --- /dev/null +++ b/.github/workflows/tv.movistar.com.pe.yml @@ -0,0 +1,17 @@ +name: tv.movistar.com.pe +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 }}