Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magentatv.de Broken #2367

Closed
mufflon101 opened this issue May 5, 2024 · 1 comment · Fixed by #2382
Closed

magentatv.de Broken #2367

mufflon101 opened this issue May 5, 2024 · 1 comment · Fixed by #2382
Labels
broken guide Error in the EPG

Comments

@mufflon101
Copy link

mufflon101 commented May 5, 2024

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"
}

@freearhey
Copy link
Collaborator

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)

PopeyeTheSai10r added a commit that referenced this issue Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken guide Error in the EPG
Development

Successfully merging a pull request may close this issue.

2 participants