Revert "Rename compulms.com to energeek.cl"

This reverts commit 8c11939290.
This commit is contained in:
freearhey 2023-11-18 17:53:22 +03:00
parent ea42d168a5
commit 69c6602268
5 changed files with 12 additions and 14 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="compulms.com" lang="es" xmltv_id="CCPRadio.cl" site_id="EnerGeek Animate">EnerGeek Animate</channel>
<channel site="compulms.com" lang="es" xmltv_id="EnerGeek.cl" site_id="EnerGeek Retro">EnerGeek Retro</channel>
<channel site="compulms.com" lang="es" xmltv_id="EnerGeekRadio.cl" site_id="EnerGeek Radio TV">EnerGeek Radio TV</channel>
<channel site="compulms.com" lang="es" xmltv_id="FanpopTV.cl" site_id="EnerGeek Fanpop">EnerGeek Fanpop</channel>
</channels>

View file

@ -1,7 +1,7 @@
const parser = require('epg-parser') const parser = require('epg-parser')
module.exports = { module.exports = {
site: 'energeek.cl', site: 'compulms.com',
days: 2, days: 2,
request: { request: {
cache: { cache: {
@ -14,8 +14,8 @@ module.exports = {
const items = parseItems(content, channel, date) const items = parseItems(content, channel, date)
items.forEach(item => { items.forEach(item => {
programs.push({ programs.push({
title: item.title?.[0]?.value, title: item.title?.[0].value,
description: item.desc?.[0]?.value, description: item.desc?.[0].value,
icon: item.icon?.[0], icon: item.icon?.[0],
start: item.start, start: item.start,
stop: item.stop stop: item.stop

View file

@ -1,6 +1,6 @@
// npm run grab -- --site=energeek.cl // npm run grab -- --site=compulms.com
const { parser, url } = require('./energeek.cl.config.js') const { parser, url } = require('./compulms.com.config.js')
const fs = require('fs') const fs = require('fs')
const path = require('path') const path = require('path')
const dayjs = require('dayjs') const dayjs = require('dayjs')

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="energeek.cl" lang="es" xmltv_id="" site_id="EnerGeek 4">EnerGeek 4</channel>
<channel site="energeek.cl" lang="es" xmltv_id="" site_id="EnerGeek Fanpop">EnerGeek Fanpop</channel>
<channel site="energeek.cl" lang="es" xmltv_id="" site_id="EnerGeek Retro">EnerGeek Retro</channel>
<channel site="energeek.cl" lang="es" xmltv_id="CCPRadio.cl" site_id="CCP Radio">CCP Radio</channel>
<channel site="energeek.cl" lang="es" xmltv_id="EnerGeekRadio.cl" site_id="EnerGeek Radio TV">EnerGeek Radio TV</channel>
<channel site="energeek.cl" lang="es" xmltv_id="FanpopTV.cl" site_id="Fanpop TV">Fanpop TV</channel>
</channels>