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

View File

@@ -1,4 +1,4 @@
// npx epg-grabber --config=sites/programacion-tv.elpais.com/programacion-tv.elpais.com.config.js --channels=sites/programacion-tv.elpais.com/programacion-tv.elpais.com.channels.xml --output=guide.xml --days=2
// npm run grab -- --site=programacion-tv.elpais.com
// npm run channels:parse -- --config=./sites/programacion-tv.elpais.com/programacion-tv.elpais.com.config.js --output=./sites/programacion-tv.elpais.com/programacion-tv.elpais.com.channels.xml
const { parser, url } = require('./programacion-tv.elpais.com.config.js')
@@ -67,7 +67,7 @@ it('can parse response', async () => {
it('can handle empty guide', async () => {
const result = await parser({
content: ``,
content: '',
channel
})
expect(result).toMatchObject([])