mirror of
https://github.com/iptv-org/epg
synced 2026-05-08 18:36:59 -04:00
Update /sites
This commit is contained in:
@@ -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([])
|
||||
|
||||
Reference in New Issue
Block a user