TV1
WEDNESDAY
23:30 EYE ON SADC |
THURSDAY
TIME PROGRAMME![]() |
00:00 MAIN NEWS – RPT |
01:00 BORN & BRED – Rebroadcast (Tuesday Edition) |
02:00 DOCUMENTARY – DW |
diff --git a/sites/znbc.co.zm/znbc.co.zm.test.js b/sites/znbc.co.zm/znbc.co.zm.test.js new file mode 100644 index 00000000..9e1009c9 --- /dev/null +++ b/sites/znbc.co.zm/znbc.co.zm.test.js @@ -0,0 +1,58 @@ +// npx epg-grabber --config=sites/znbc.co.zm/znbc.co.zm.config.js --channels=sites/znbc.co.zm/znbc.co.zm_zm.channels.xml --output=.gh-pages/guides/zm/znbc.co.zm.epg.xml --days=2 + +const { parser, url, logo } = require('./znbc.co.zm.config.js') +const dayjs = require('dayjs') +const utc = require('dayjs/plugin/utc') +const customParseFormat = require('dayjs/plugin/customParseFormat') +dayjs.extend(customParseFormat) +dayjs.extend(utc) + +const date = dayjs.utc('2021-11-25', 'YYYY-MM-DD').startOf('d') +const channel = { + site_id: 'tv1', + xmltv_id: 'ZNBCTV1.zm' +} +const content = `