let err = new Miniget.MinigetError(`Status code: ${res.statusCode}`, res.statusCode);
- Dominant language
- JavaScript
- Stars
- 4.7k
- Forks
- 852
- PR merge metrics
- No merged PRs in 30d
Description
### Before creating an issue, please try the following
- Are you on the latest version of ytdl-core?
- To check, run `npm ls ytdl-core`
- If you're using a bot or application that depends on ytdl-core, look at the bottom of the readme on how to update the library
- Otherwise, if you're directly importing ytdl-core, to install the latest version, run `npm install ytdl-core@latest`
- Search the list of issues for a possible duplicate.
- If there is a duplicate issue thread, but it's closed, only post in it if it's been active in the past month. Otherwise, creating a new issue thread is fine.
- If your question is about using the library for a specific use case, check out the [examples folder](https://github.com/fent/node-ytdl-core/tree/master/example).
### Otherwise, feel free to open an issue
Include the following if your issue is a bug
- If you're getting a specific error message, include the full stack trace
- If you're getting unexpected behavior without an error message
- What should happen?
- What happens instead?
- Include any relevant code around ytdl-core. You don't have to upload your entire program, small snippets are fine.
- If this error happens only on some videos, include a link or links to videos.
ubuntu 22.04, frança
/home/ubuntu/wirebot/node_modules/miniget/dist/index.js:206
let err = new Miniget.MinigetError(`Status code: ${res.statusCode}`, res.statusCode);
^
MinigetError: Status code: 410
at ClientRequest. (/home/ubuntu/wirebot/node_modules/miniget/dist/index.js:206:27)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:513:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:701:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:542:22)
at TLSSocket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Emitted 'error' event on PassThrough instance at:
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 410
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.