mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -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/flixed.io/flixed.io.config.js --channels=sites/flixed.io/flixed.io.channels.xml --output=guide.xml --days=1
|
||||
// npm run grab -- --site=flixed.io
|
||||
|
||||
const { parser, url } = require('./flixed.io.config.js')
|
||||
const fs = require('fs')
|
||||
|
@ -17,7 +17,7 @@ const channel = {
|
|||
|
||||
it('can generate valid url', () => {
|
||||
expect(url({ date, channel })).toBe(
|
||||
`https://tv-guide.vercel.app/api/stationAirings?stationId=108970&startDateTime=2023-01-19T00:00:00.000Z`
|
||||
'https://tv-guide.vercel.app/api/stationAirings?stationId=108970&startDateTime=2023-01-19T00:00:00.000Z'
|
||||
)
|
||||
})
|
||||
|
||||
|
@ -42,7 +42,7 @@ it('can parse response', () => {
|
|||
|
||||
it('can handle empty guide', () => {
|
||||
const results = parser({
|
||||
content: `[]`
|
||||
content: '[]'
|
||||
})
|
||||
|
||||
expect(results).toMatchObject([])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue