mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update parser.js
This commit is contained in:
parent
9a9b8ba52f
commit
4e3c687e73
1 changed files with 2 additions and 3 deletions
|
@ -4,11 +4,10 @@ const grabber = require('epg-grabber')
|
|||
|
||||
const parser = {}
|
||||
|
||||
parser.parseChannels = async function(filepath) {
|
||||
parser.parseChannels = async function (filepath) {
|
||||
const content = await file.read(filepath)
|
||||
const channels = grabber.parseChannels(content)
|
||||
|
||||
return channels
|
||||
return grabber.parseChannels(content)
|
||||
}
|
||||
|
||||
parser.parseLogs = async function (filepath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue