mirror of
https://github.com/iptv-org/epg
synced 2025-12-21 12:56:55 -05:00
Update tvprofil.com.config.js
This commit is contained in:
@@ -22,6 +22,7 @@ module.exports = {
|
|||||||
parser: function ({ content, channel, date }) {
|
parser: function ({ content, channel, date }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
const result = parseContent(content)
|
const result = parseContent(content)
|
||||||
|
if (!result) return programs
|
||||||
const items = parseItems(result.data.program)
|
const items = parseItems(result.data.program)
|
||||||
items.forEach(item => {
|
items.forEach(item => {
|
||||||
const $item = cheerio.load(item)
|
const $item = cheerio.load(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user