amishshah / ytdl-core-discord

A ytdl-core wrapper focused on efficiency for use in Discord music bots
Apache License 2.0
64 stars 26 forks source link

MinigetError: Status code: 410 #396

Open nokisenpai opened 2 years ago

nokisenpai commented 2 years ago

Hello I get this error when I try to play some video.

MinigetError: Status code: 410 at ClientRequest.<anonymous> (D:\Perso\prog\Kinoa\node_modules\miniget\dist\index.js:210:27) at Object.onceWrapper (node:events:510:26) at ClientRequest.emit (node:events:390:28) at HTTPParser.parserOnIncomingClient (node:_http_client:623:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17) at TLSSocket.socketOnData (node:_http_client:487:22) at TLSSocket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at TLSSocket.Readable.push (node:internal/streams/readable:234:10) { statusCode: 410 }

example of video that produce this error : https://www.youtube.com/watch?v=K3GkSo3ujSY

How to fix that please? :)

Luuk-Dev commented 2 years ago

This error is being thrown by the ytdl-core package, not by the ytdl-core-discord package. So you should open an issue at the ytdl-core issue page

Hatzilu commented 1 year ago

From personal experience i've noticed that this error returns from age-restricted videos, but again, this is a ytdl-core issue.