Update index.js
This commit is contained in:
parent
714a3eacb9
commit
e9e65a4e27
|
@ -6,6 +6,9 @@ const { parse: parsePrograms } = require('./programs')
|
||||||
const { load: loadConfig } = require('./config')
|
const { load: loadConfig } = require('./config')
|
||||||
const { sleep, isPromise } = require('./utils')
|
const { sleep, isPromise } = require('./utils')
|
||||||
|
|
||||||
|
module.exports.generateXMLTV = generateXMLTV
|
||||||
|
module.exports.parseChannels = parseChannels
|
||||||
|
|
||||||
class EPGGrabber {
|
class EPGGrabber {
|
||||||
constructor(config = {}) {
|
constructor(config = {}) {
|
||||||
this.config = loadConfig(config)
|
this.config = loadConfig(config)
|
||||||
|
@ -42,7 +45,4 @@ class EPGGrabber {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EPGGrabber.prototype.generateXMLTV = generateXMLTV
|
module.exports.EPGGrabber = EPGGrabber
|
||||||
EPGGrabber.prototype.parseChannels = parseChannels
|
|
||||||
|
|
||||||
module.exports = EPGGrabber
|
|
||||||
|
|
Loading…
Reference in New Issue