mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update /sites
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// npx epg-grabber --config=sites/sky.co.nz/sky.co.nz.config.js --channels=sites/sky.co.nz/sky.co.nz.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=sky.co.nz
|
||||
|
||||
const { parser, url } = require('./sky.co.nz.config.js')
|
||||
const fs = require('fs')
|
||||
@@ -28,7 +28,8 @@ it('can parse response', () => {
|
||||
|
||||
expect(result[0]).toMatchObject({
|
||||
title: 'Sing 2',
|
||||
description: `Animated: Buster Moon and his friends must persuade the world's most reclusive rock star to help launch their most dazzling extravaganza yet. Voices Of: Matthew McConaughey, Reese Witherspoon (2021)`,
|
||||
description:
|
||||
"Animated: Buster Moon and his friends must persuade the world's most reclusive rock star to help launch their most dazzling extravaganza yet. Voices Of: Matthew McConaughey, Reese Witherspoon (2021)",
|
||||
category: ['Animated'],
|
||||
rating: { system: 'OFLC', value: 'PG' },
|
||||
start: '2023-01-20T23:41:00.000Z',
|
||||
@@ -37,7 +38,8 @@ it('can parse response', () => {
|
||||
|
||||
expect(result[5]).toMatchObject({
|
||||
title: 'Harry Potter and the Goblet of Fire',
|
||||
description: `Adventure: Harry is selected to represent Hogwarts at a legendary and dangerous wizardry competition between three schools of magic. Stars: Daniel Radcliffe, Rupert Grint (2005)`,
|
||||
description:
|
||||
'Adventure: Harry is selected to represent Hogwarts at a legendary and dangerous wizardry competition between three schools of magic. Stars: Daniel Radcliffe, Rupert Grint (2005)',
|
||||
category: ['Action/Adventure'],
|
||||
rating: { system: 'OFLC', value: 'M-V' },
|
||||
start: '2023-01-21T07:42:00.000Z',
|
||||
@@ -57,4 +59,4 @@ it('can handle empty guide', () => {
|
||||
channel
|
||||
)
|
||||
expect(result).toMatchObject([])
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user