This commit is contained in:
freearhey
2021-03-13 15:51:19 +03:00
parent 40dcba7a3e
commit 980019968e
14 changed files with 54 additions and 11882 deletions

View File

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