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/vtm.be/vtm.be.config.js --channels=sites/vtm.be/vtm.be.channels.xml --output=guide.xml --days=2
|
||||
// npm run grab -- --site=vtm.be
|
||||
|
||||
const { parser, url } = require('./vtm.be.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
@@ -28,7 +28,8 @@ it('can parse response', () => {
|
||||
stop: '2021-11-11T00:20:00.000Z',
|
||||
title: 'Wooninspiraties',
|
||||
icon: 'https://images4.persgroep.net/rcs/z5qrZHumkjuN5rWzoaRJ_BTdL7A/diocontent/209688322/_fill/600/400?appId=da11c75db9b73ea0f41f0cd0da631c71',
|
||||
description: `Een team gaat op pad om inspiratie op te doen over alles wat met wonen en leven te maken heeft; Ze trekken heel het land door om de laatste trends en tips op het gebied van wonen te achterhalen.`,
|
||||
description:
|
||||
'Een team gaat op pad om inspiratie op te doen over alles wat met wonen en leven te maken heeft; Ze trekken heel het land door om de laatste trends en tips op het gebied van wonen te achterhalen.',
|
||||
category: 'Magazine'
|
||||
}
|
||||
])
|
||||
@@ -38,7 +39,7 @@ it('can handle empty guide', () => {
|
||||
const result = parser({
|
||||
date,
|
||||
channel,
|
||||
content: `<html lang="nl"> <head></head> <body></body></html>`
|
||||
content: '<html lang="nl"> <head></head> <body></body></html>'
|
||||
})
|
||||
expect(result).toMatchObject([])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user