epg
epg copied to clipboard
m.tv.sms.cz is broken
Site
m.tv.sms.cz
Description
npm run grab -- --site=m.tv.sms.cz
> grab
> npx tsx scripts/commands/epg/grab.ts --site=m.tv.sms.cz
staring...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: m.tv.sms.cz
loading channels...
found 525 channel(s)
run #1:
[1/1050] m.tv.sms.cz (bs) - BNTV.ba - Nov 20, 2023 (0 programs)
ERR: write EPROTO C04D101B01000000:error:0A000172:SSL routines:tls12_check_peer_sigalg:wrong signature type:ssl/t1_lib.c:1594:
[2/1050] m.tv.sms.cz (bs) - BNTV.ba - Nov 21, 2023 (0 programs)
ERR: write EPROTO C04D101B01000000:error:0A000172:SSL routines:tls12_check_peer_sigalg:wrong signature type:ssl/t1_lib.c:1594:
[3/1050] m.tv.sms.cz (cs) - AMC.cz - Nov 21, 2023 (0 programs)
ERR: write EPROTO C04D101B01000000:error:0A000172:SSL routines:tls12_check_peer_sigalg:wrong signature type:ssl/t1_lib.c:1594:
https://check-host.net/check-report/135d7e05kb9d
From what i understand the cause for this is that nodejs updated to a new OpenSSL version in some recent release which doesn't like their signature. As a workaround you can add the --tls-cipher-list=DEFAULT@SECLEVEL=0 command line switch.
"grab": "npx tsx --tls-cipher-list=DEFAULT@SECLEVEL=0 scripts/commands/epg/grab.ts",
Not sure if this can be done in code. Probably not a great idea to loosen signature verification in general.
Probably not a great idea to loosen signature verification in general.
It doesn't look very safe to me either.
Yeah i definitely wouldn't commit that as a change in the package.json. Just wanted to leave that here for ppl looking for a workaround. I feel the only proper way to fix this is for the website to fix their server side ssl config.
"grab": "npx tsx --tls-cipher-list=DEFAULT@SECLEVEL=0 scripts/commands/epg/grab.ts",
how should i correctly write this into terminal? I think this is wrong: