I'm using ytdl-core in my Discord bot which worked fine for a long time. I noticed yesterday, that it didn't work anymore, tried upgrading to the newest version but does still throw the same error.
Since Youtube must've changed something many services like NewPipe didn't work anymore. For example NewPipe had the exact same error message saying that the player config couldn't be found and in their latest release yesterday, they finally fixed it. A link to their issue can be found here. Maybe it's easier for you to fix it given this.
The exception occurres in ytdl-core/lib/info.js at exports.getBasicInfo. So it's most likely it's a problem with ytdl-core. Here's the stacktrace:
Error: input stream: Could not find player config at exports.getBasicInfo (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:59:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Object.exports.<computed> [as getBasicInfo] (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:297:18) at async exports.getFullInfo (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:188:14) at async Object.exports.<computed> [as getFullInfo] (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:297:18)
Running latest ytdl-core on:
Node v12.14.0 with NPM v6.13.4 on Ubuntu 18.04
Hello,
I'm using ytdl-core in my Discord bot which worked fine for a long time. I noticed yesterday, that it didn't work anymore, tried upgrading to the newest version but does still throw the same error. Since Youtube must've changed something many services like NewPipe didn't work anymore. For example NewPipe had the exact same error message saying that the player config couldn't be found and in their latest release yesterday, they finally fixed it. A link to their issue can be found here. Maybe it's easier for you to fix it given this.
The exception occurres in
ytdl-core/lib/info.js
atexports.getBasicInfo
. So it's most likely it's a problem with ytdl-core. Here's the stacktrace:Error: input stream: Could not find player config at exports.getBasicInfo (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:59:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Object.exports.<computed> [as getBasicInfo] (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:297:18) at async exports.getFullInfo (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:188:14) at async Object.exports.<computed> [as getFullInfo] (/home/discord/bots/symphony/node_modules/ytdl-core/lib/info.js:297:18)
Running latest ytdl-core on: Node v12.14.0 with NPM v6.13.4 on Ubuntu 18.04