iptv-org/epg

magentatv.de Broken

mufflon101 opened this issue · 1 comments

Site

web.magentatv.de

Description

npm run grab -- --site=tv.magenta.at

FetchError: request to https://api.prod.sngtv.magentatv.de/EPG/JSON/Authenticate?SID=firstup&T=Windows_chrome_118 failed, reason: getaddrinfo EAI_AGAIN api.prod.sngtv.magentatv.de
at ClientRequest. (/epg/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:518:28)
at TLSSocket.socketErrorListener (node:_http_client:500:9)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN'

So far its only seems to be the .DE Site , the AT ones worked fine while testing .

https://api.prod.sngtv.magentatv.de/EPG/JSON/PlayBillList
also reports
{
"retcode":"-3",
"desc":"User's session has been expired, please relogin EPG.",
"errorCode":"85983527"
}

Just replace the site name with web.magentatv.de and everything should work:

npm run grab -- --site=web.magentatv.de

> grab
> npx tsx scripts/commands/epg/grab.ts --site=web.magentatv.de

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: web.magentatv.de
loading channels...
  found 348 channel(s)
run #1:
  [1/696] web.magentatv.de (de) - 132 - Jun 22, 2024 (8 programs)
  [2/696] web.magentatv.de (de) - 132 - Jun 23, 2024 (11 programs)
  [3/696] web.magentatv.de (de) - 134 - Jun 23, 2024 (23 programs)
  [4/696] web.magentatv.de (de) - 179 - Jun 23, 2024 (2 programs)