mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update update-readme.ts
This commit is contained in:
@@ -55,6 +55,8 @@ async function main() {
|
||||
const xml: string = file.read(filename)
|
||||
const epg: EPG = parser.parse(xml)
|
||||
|
||||
if (!epg.channels.length) return
|
||||
|
||||
const log = file.read(`logs/${site}_${code}.log`)
|
||||
const errorCount = (log.match(/ERROR/gi) || []).length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user