04/2026 Part 2 : Scrapers

Part 1
This commit is contained in:
Ismaël Moret
2026-04-15 10:46:12 +02:00
committed by GitHub
parent d27160fd2b
commit 67c1a7e45e
58 changed files with 11124 additions and 4510 deletions

View File

@@ -35,7 +35,7 @@ module.exports = {
},
parser({ content, channel }) {
if (!content || !channel) return []
let programs = []
let programs
try {
const data = JSON.parse(content)
if (!data.epg || !data.epg[channel.site_id] || !Array.isArray(data.epg[channel.site_id].slots)) {