Include dens.tv in SITES.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha
2023-11-30 21:36:25 +07:00
parent c4fb606323
commit 37de183dc6
5 changed files with 47 additions and 30 deletions

View File

@@ -1,14 +1,12 @@
// npm run channels:parse -- --config=./sites/dens.tv/dens.tv.config.js --output=./sites/dens.tv/dens.tv.channels.xml
// npm run grab -- --site=dens.tv
const { url, parser } = require('./dens.tv.config.js')
const fs = require('fs')
const path = require('path')
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
dayjs.extend(utc)
const date = dayjs.utc('2023-11-10', 'YYYY-MM-DD').startOf('d')
const date = dayjs.utc('2023-11-10').startOf('d')
const channel = { site_id: '6', xmltv_id: 'MetroTV.id', lang: 'id' }
it('can generate valid url', () => {