mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update /sites
This commit is contained in:
parent
ca254a6df0
commit
c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
|
@ -1,11 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="ena.skylifetv.co.kr">
|
||||
<channels>
|
||||
<channel lang="ko" xmltv_id="ENA.kr" site_id="ENA">ENA</channel>
|
||||
<channel lang="ko" xmltv_id="ENAPLAY.kr" site_id="ENA_PLAY">ENA PLAY</channel>
|
||||
<channel lang="ko" xmltv_id="KidsTalkTalkPlus.kr" site_id="kidstalktalkplus">kids talk talk plus</channel>
|
||||
<channel lang="ko" xmltv_id="OLIFE.kr" site_id="OLIFE">OLIFE</channel>
|
||||
<channel lang="ko" xmltv_id="ONCE.kr" site_id="ONCE">ONCE</channel>
|
||||
<channel lang="ko" xmltv_id="skyUHD.kr" site_id="skyUHD">skyUHD</channel>
|
||||
</channels>
|
||||
</site>
|
||||
<channels>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="ENA.kr" site_id="ENA">ENA</channel>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="ENAPLAY.kr" site_id="ENA_PLAY">ENA PLAY</channel>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="KidsTalkTalkPlus.kr" site_id="kidstalktalkplus">kids talk talk plus</channel>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="OLIFE.kr" site_id="OLIFE">OLIFE</channel>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="ONCE.kr" site_id="ONCE">ONCE</channel>
|
||||
<channel site="ena.skylifetv.co.kr" lang="ko" xmltv_id="skyUHD.kr" site_id="skyUHD">skyUHD</channel>
|
||||
</channels>
|
||||
|
|
|
@ -61,7 +61,7 @@ function parseStart($item, date) {
|
|||
return dayjs.tz(`${date.format('YYYY-MM-DD')} ${time}`, 'YYYY-MM-DD HH:mm', 'Asia/Seoul')
|
||||
}
|
||||
|
||||
function parseItems(content, channel, date) {
|
||||
function parseItems(content) {
|
||||
const $ = cheerio.load(content)
|
||||
|
||||
return $('.tbl_schedule > tbody > tr').toArray()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// npx epg-grabber --config=sites/ena.skylifetv.co.kr/ena.skylifetv.co.kr.config.js --channels=sites/ena.skylifetv.co.kr/ena.skylifetv.co.kr.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=ena.skylifetv.co.kr
|
||||
|
||||
const { parser, url } = require('./ena.skylifetv.co.kr.config.js')
|
||||
const fs = require('fs')
|
||||
|
@ -31,7 +31,7 @@ it('can parse response', () => {
|
|||
expect(results[0]).toMatchObject({
|
||||
start: '2023-01-26T16:05:00.000Z',
|
||||
stop: '2023-01-26T17:20:00.000Z',
|
||||
title: `법쩐 6화`,
|
||||
title: '법쩐 6화',
|
||||
rating: {
|
||||
system: 'KMRB',
|
||||
value: '15'
|
||||
|
@ -41,7 +41,7 @@ it('can parse response', () => {
|
|||
expect(results[17]).toMatchObject({
|
||||
start: '2023-01-27T14:10:00.000Z',
|
||||
stop: '2023-01-27T15:25:00.000Z',
|
||||
title: `남이 될 수 있을까 4화`,
|
||||
title: '남이 될 수 있을까 4화',
|
||||
rating: {
|
||||
system: 'KMRB',
|
||||
value: '15'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue