iptv-org/epg

Error while downloading epg

thomraider12 opened this issue · 0 comments

Describe your issue

starting...
config:
output: ../EPG/epg-meo-pt.xml
maxConnections: 50
gzip: false
channels: ../EPG/meo.pt.channels.xml
days: 7
loading channels...
/home/runner/work/canaistvpt/canaistvpt/iptv-org-epg/node_modules/epg-grabber/src/parser.js:30
c.name = el.elements.find(el => el.type === 'text').text
^

TypeError: Cannot read properties of undefined (reading 'find')
at (/home/runner/work/canaistvpt/canaistvpt/iptv-org-epg/node_modules/epg-grabber/src/parser.js:30:28)
at Array.map ()
at parseChannels (/home/runner/work/canaistvpt/canaistvpt/iptv-org-epg/node_modules/epg-grabber/src/parser.js:28:6)
at ChannelsParser.parse (/home/runner/work/canaistvpt/canaistvpt/iptv-org-epg/scripts/core/channelsParser.ts:19:22)
at main (/home/runner/work/canaistvpt/canaistvpt/iptv-org-epg/scripts/commands/epg/grab.ts:75:44)