Closed Lampropoulosss closed 2 months ago
For a lot of videos I get error MinigetError: Status code: 403
const stream = ytdl(ytdl.getVideoID(req.query.video), { filter: "audioonly", format: "webm", // IPv6Block: "2001:2::/48", requestOptions: { headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0", }, }, }).on("error", (error) => console.log(error)); return stream.pipe(res, { end: true });
Duplicated of #31
Describe the bug
For a lot of videos I get error MinigetError: Status code: 403
Debug FIle
Environment