Closed Lampropoulosss closed 1 month ago
Even if I comment out the requestOptions
, the issue persists.
Your code is working on my PC, maybe due to your node.js version I guess. I'm using 20.16.0.
Anyway, you can add an agent manually with agent: ytdl.createAgent()
option.
const stream = ytdl(ytdl.getVideoID(req.query.video), {
agent: ytdl.createAgent(),
...
})
Works now, thank you!
Describe the bug
I am trying to get the webm audioonly version of a video and I get the following error
Debug File
Environment