This commit is contained in:
freearhey
2021-03-13 16:17:38 +03:00
parent 980019968e
commit ea1d9b7370
11 changed files with 79 additions and 2766 deletions

View File

@@ -1,12 +1,16 @@
const jsdom = require('jsdom')
const { JSDOM } = jsdom
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
var customParseFormat = require('dayjs/plugin/customParseFormat')
dayjs.extend(utc)
dayjs.extend(customParseFormat)
module.exports = {
lang: 'en',
site: 'ontvtonight.com',
channels: 'ontvtonight.com.channels.xml',
output: '.gh-pages/guides/ontvtonight.com.xml',
url: function ({ date, channel }) {
return `https://www.ontvtonight.com/uk/guide/listings/channel/${