Closed isaacs closed 2 months ago
Ah, that's me also putting the referer there, in case that was the issue, but it apparently isn't.
The issue was user-agent. I hard coded in the UA header from my browser, and then it works.
I don't understand very well what you did. Where did you hard code the user agent header from the browser? In which source code file?
Have the same problem basically.
C:\Users\admin\AppData\Roaming\npm\node_modules\ytdl-mp3\node_modules\miniget\dist\index.js:206 let err = new Miniget.MinigetError(
Status code: ${res.statusCode}`, res.statusCode);
^
MinigetError: Status code: 403
at ClientRequest.
Node.js v20.15.0`
Can you guys some solution for solving this problem?
@joshunrau pls help if you know a solution. I've used your product for a while, you know ;)
I've created a PR that should fix this error #67
Thanks @ShaquilleSadiq ! Just confirmed this is fixed. Sorry, was very busy lately and didn't have time to look at this. The new version is up on npm let me know if any further issues.
Getting a 403 error trying to download anything with this library. Maybe youtube changed something on their end?
Added a console.log to show the requests it's making, if that's helpful.