YouTube-Downloader
YouTube-Downloader copied to clipboard
Bump ytdl to latest version 4.11.5
I received errors on the base version:
[nodemon] 1.19.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `babel-node app.js`
🚀 Server ready at http://localhost:8000
Error: Could not find player config
at gotConfig (/Users/alexyounger/Development/Code/Javascript/__cloned__/YouTube-Downloader/server/node_modules/ytdl-core/lib/info.js:120:11)
at exports.getBasicInfo (/Users/alexyounger/Development/Code/Javascript/__cloned__/YouTube-Downloader/server/node_modules/ytdl-core/lib/info.js:87:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Function.exports.<computed> [as getBasicInfo] (/Users/alexyounger/Development/Code/Javascript/__cloned__/YouTube-Downloader/server/node_modules/ytdl-core/lib/info.js:314:18)
I was able to fix by bumping the ytdl version. I tested this using node version 16 and was able to download a video. Be aware no other testing has been done.