mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
wip
This commit is contained in:
parent
bce76d2fb7
commit
a24cbb3543
7 changed files with 135 additions and 60 deletions
|
@ -74,6 +74,7 @@ utils.parseConfig = function (configPath) {
|
|||
const days = this.getElementText('days', settings.elements)
|
||||
const userAgent = this.getElementText('user-agent', settings.elements)
|
||||
const timezone = this.getElementText('timezone', settings.elements)
|
||||
const cookie = this.getElementText('cookie', settings.elements)
|
||||
const channels = settings.elements
|
||||
.filter(el => el.name === 'channel')
|
||||
.map(el => {
|
||||
|
@ -88,7 +89,8 @@ utils.parseConfig = function (configPath) {
|
|||
days,
|
||||
userAgent,
|
||||
timezone,
|
||||
channels
|
||||
channels,
|
||||
cookie
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue