mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-readme.ts
This commit is contained in:
parent
a0aba6a7b9
commit
6e8b6e4ef6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue