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

Error: Status Code: 404 #367

Open ghost opened 3 years ago

ghost commented 3 years ago

For a few hours everyone I know who uses this library is suffering from the same error. Please fix it how long

DarkPlayer2 commented 3 years ago

I think that Module is Deprecated

taroshg commented 3 years ago

its an issue with the ytdl-core lib/info.js, where the access to the youtube get_video_info API was broken. https://github.com/fent/node-ytdl-core/commit/d1f535712410eebd79a7468abd07d94f8c4ebe5a

Ddongddi commented 3 years ago

I got this status message too... Anyone know how to solve this?

WallopingEwe commented 3 years ago

Same here

MinigetError: Status code: 404 at ClientRequest.<anonymous> (/home/runner/Fascism/node_modules/miniget/dist/index.js:211:27) at Object.onceWrapper (events.js:421:26) at ClientRequest.emit (events.js:314:20) at ClientRequest.EventEmitter.emit (domain.js:483:12) at HTTPParser.parserOnIncomingClient (_http_client.js:601:27) at HTTPParser.parserOnHeadersComplete (_http_common.js:122:17) at TLSSocket.socketOnData (_http_client.js:474:22) at TLSSocket.emit (events.js:314:20) at TLSSocket.EventEmitter.emit (domain.js:483:12) at addChunk (_stream_readable.js:297:12) { statusCode: 404 }

Noobslayer123 commented 3 years ago

i'm having the same issue, ytdl-core-discord only plays certain videos

keksgauner commented 3 years ago

its on yt side

WallopingEwe commented 3 years ago

ytdl-core patched the 404 errors

codedipper commented 3 years ago

This is an issue with ytdl-core itself, update it to the latest version and it should be fixed. Until #368 is merged, run the command: npm i ytdl-core@latest