mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -04:00
Update /sites
This commit is contained in:
parent
ca254a6df0
commit
c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
|
@ -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([])
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue