mirror of
https://github.com/iptv-org/epg
synced 2026-05-05 17:07:03 -04:00
Update /sites
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// npm run channels:parse -- --config=./sites/dstv.com/dstv.com.config.js --output=./sites/dstv.com/dstv.com.channels.xml --set=country:zaf
|
||||
// npx epg-grabber --config=sites/dstv.com/dstv.com.config.js --channels=sites/dstv.com/dstv.com.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=dstv.com
|
||||
|
||||
const { parser, url } = require('./dstv.com.config.js')
|
||||
const axios = require('axios')
|
||||
@@ -101,7 +101,7 @@ it('can parse response for NG', async () => {
|
||||
|
||||
it('can handle empty guide', done => {
|
||||
parser({
|
||||
content: `{"Total":0,"Channels":[]}`,
|
||||
content: '{"Total":0,"Channels":[]}',
|
||||
channel: channelZA
|
||||
})
|
||||
.then(result => {
|
||||
|
||||
Reference in New Issue
Block a user