iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.8k stars 199 forks source link

sky.com epg channel list refresh error #2352

Closed purplescorpion1 closed 3 months ago

purplescorpion1 commented 5 months ago

Site

sky.com

Description

When trying to update channel list from sky.com (https://github.com/iptv-org/epg/tree/master/sites/sky.com) I get the following error

A number of channels either don't exist (404) or have been renamed so a new channel list is required

npm run channels:parse -- --config=./sites/sky.com/sky.com.config.js --output=./sites/sky.com/sky.com.channels.xml

> channels:parse
> npx tsx scripts/commands/channels/parse.ts --config=./sites/sky.com/sky.com.config.js --output=./sites/sky.com/sky.com.channels.xml

(node:26828) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///C%3A/AI/epg/node_modules/tsx/dist/loader.mjs", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
(node:26828) UnsupportedWarning: `globalPreload` has been removed; use `initialize` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:26828) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

C:\***\sites\sky.com\sky.com.config.js:42
    initialData.state.epgData.channelsForRegion.forEach(item => {
                                                ^
TypeError: Cannot read properties of undefined (reading 'forEach')
    at Object.channels (C:\***\sites\sky.com\sky.com.config.js:42:49)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at main (C:\***\scripts\commands\channels\parse.ts:50:22)
purplescorpion1 commented 5 months ago

just noticed also mentioned https://github.com/iptv-org/epg/issues/2325

freearhey commented 3 months ago

Closed in favor of https://github.com/iptv-org/epg/issues/2325