mirror of
https://github.com/iptv-org/epg
synced 2026-04-30 22:46:58 -04:00
Update /sites
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site site="getafteritmedia.com">
|
||||
<channels>
|
||||
<channel lang="en" xmltv_id="REVNEastern.us" site_id="380697915">REV'N Eastern</channel>
|
||||
<channel lang="en" xmltv_id="REVNCentral.us" site_id="1722195092">REV'N Central</channel>
|
||||
<channel lang="en" xmltv_id="REVNMountain.us" site_id="1014453176">REV'N Mountain</channel>
|
||||
<channel lang="en" xmltv_id="REVNPacific.us" site_id="589261086">REV'N Pacific</channel>
|
||||
<channel lang="en" xmltv_id="REVNWebFeed.us" site_id="494637005">REV'N Web Feed</channel>
|
||||
</channels>
|
||||
</site>
|
||||
<channels>
|
||||
<channel site="getafteritmedia.com" lang="en" xmltv_id="REVNCentral.us" site_id="1722195092">REV'N Central</channel>
|
||||
<channel site="getafteritmedia.com" lang="en" xmltv_id="REVNEastern.us" site_id="380697915">REV'N Eastern</channel>
|
||||
<channel site="getafteritmedia.com" lang="en" xmltv_id="REVNMountain.us" site_id="1014453176">REV'N Mountain</channel>
|
||||
<channel site="getafteritmedia.com" lang="en" xmltv_id="REVNPacific.us" site_id="589261086">REV'N Pacific</channel>
|
||||
<channel site="getafteritmedia.com" lang="en" xmltv_id="REVNWebFeed.us" site_id="494637005">REV'N Web Feed</channel>
|
||||
</channels>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// npx epg-grabber --config=sites/getafteritmedia.com/getafteritmedia.com.config.js --channels=sites/getafteritmedia.com/getafteritmedia.com.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=getafteritmedia.com
|
||||
|
||||
const { parser, url } = require('./getafteritmedia.com.config.js')
|
||||
const fs = require('fs')
|
||||
@@ -33,7 +33,7 @@ it('can parse response', () => {
|
||||
expect(results[0]).toMatchObject({
|
||||
start: '2022-11-26T05:00:00.000Z',
|
||||
stop: '2022-11-26T05:30:00.000Z',
|
||||
title: `The Appraisers`
|
||||
title: 'The Appraisers'
|
||||
})
|
||||
})
|
||||
|
||||
@@ -41,7 +41,7 @@ it('can handle empty guide', () => {
|
||||
const result = parser({
|
||||
date,
|
||||
channel,
|
||||
content: `<!DOCTYPE html><html><head></head><body></body></html>`
|
||||
content: '<!DOCTYPE html><html><head></head><body></body></html>'
|
||||
})
|
||||
expect(result).toMatchObject([])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user