Update parser.js
This commit is contained in:
1 parent
9a9b8ba52f
commit
4e3c687e73
1 file changed
+2
-3
@@ -4,11 +4,10 @@ const grabber = require('epg-grabber')
|
|||||||
|
|
||||||
const parser = {}
|
const parser = {}
|
||||||
|
|
||||||
parser.parseChannels = async function(filepath) {
|
parser.parseChannels = async function (filepath) {
|
||||||
const content = await file.read(filepath)
|
const content = await file.read(filepath)
|
||||||
const channels = grabber.parseChannels(content)
|
|
||||||
|
|
||||||
return channels
|
return grabber.parseChannels(content)
|
||||||
}
|
}
|
||||||
|
|
||||||
parser.parseLogs = async function (filepath) {
|
parser.parseLogs = async function (filepath) {
|
||||||
|
|||||||
Reference in new issue
Block a user