Update /sites

This commit is contained in:
freearhey
2023-10-02 06:35:33 +03:00
parent ca254a6df0
commit c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// npm run channels:parse -- --config=./sites/ziggogo.tv/ziggogo.tv.config.js --output=./sites/ziggogo.tv/ziggogo.tv.channels.xml
// npx epg-grabber --config=sites/ziggogo.tv/ziggogo.tv.config.js --channels=sites/ziggogo.tv/ziggogo.tv.channels.xml --output=guide.xml --days=2
// npm run grab -- --site=ziggogo.tv
const { parser, url } = require('./ziggogo.tv.config.js')
const fs = require('fs')
@@ -92,7 +92,7 @@ it('can parse response', async () => {
})
it('can handle empty guide', async () => {
let results = await parser({ content: ``, channel, date })
let results = await parser({ content: '', channel, date })
expect(results).toMatchObject([])
})