Hey team!
I've been trying to use ytdl-core on different networks, but it keeps returning status code: 410, even with a minimal example like this:
const fs = require("fs");
const ytdl = require("ytdl-core");
ytdl("http://www.youtube.com/watch?v=aqz-KE-bpKQ").pipe(
fs.createWriteStream("video.mp4")
);
The problem is not related to my environment because I've tested it on different machines and networks, but the issue persists.
Could you help me try to solve it?
Thanks in advance for any help!