mirror of
https://github.com/iptv-org/epg
synced 2026-04-29 14:06:59 -04:00
@@ -24,7 +24,7 @@ module.exports = {
|
||||
)}&channel_ids=${channel.site_id}`
|
||||
},
|
||||
parser({ content, channel, date }) {
|
||||
let programs = []
|
||||
const programs = []
|
||||
const items = parseItems(content, channel, date)
|
||||
items.forEach(item => {
|
||||
let prev = programs[programs.length - 1]
|
||||
@@ -64,6 +64,7 @@ module.exports = {
|
||||
const [, site_id] = loc.match(/channel\/(\d+)\//) || [null, null]
|
||||
|
||||
return {
|
||||
lang: 'en',
|
||||
site_id,
|
||||
name: $item('video\\:title').text().trim()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user