Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: input stream: Video unavailable #657

Closed
ghost opened this issue Jun 24, 2020 · 6 comments
Closed

Error: input stream: Video unavailable #657

ghost opened this issue Jun 24, 2020 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 24, 2020

I'm trying to make a Discord music bot but I keep getting this error:

Error: input stream: Video unavailable
    at Object.exports.playError (C:\Users\Administrator\Desktop\musicbot\node_modules\ytdl-core\lib\util.js:437:12)
    at downloadFromInfoCallback (C:\Users\Administrator\Desktop\musicbot\node_modules\ytdl-core\lib\index.js:63:18)
    at C:\Users\Administrator\Desktop\musicbot\node_modules\ytdl-core\lib\index.js:23:5
    at C:\Users\Administrator\Desktop\musicbot\node_modules\ytdl-core\lib\info.js:288:23
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

It seems to work with some other vids but not this idk why: https://www.youtube.com/watch?v=N70DRo8_WwA

Thanks in advance

@xLive
Copy link

xLive commented Jun 24, 2020

Probably the video is unavailable in your country or the country where are you trying to host the bot from

@ifaisalqz
Copy link

I keep getting the same error above, its seems youtube change something with the API or something like that, because yesterday I can run this youtube music [https://www.youtube.com/watch?v=ele2DMU49Jk] but today I can't

@fent
Copy link
Owner

fent commented Jul 1, 2020

it's possible that the uploader has made it unavailable in your country since yesterday

@fent fent added the support label Jul 1, 2020
@ifaisalqz
Copy link

it's possible that the uploader has made it unavailable in your country since yesterday

Yeah maybe, I have a VPS from contabo and it's in US washington, someone told me to avoid problem like this you have to install proxy in your machine is that correct? and how?, Thanks.

@xLive
Copy link

xLive commented Jul 1, 2020

Yeah maybe, I have a VPS from contabo and it's in US washington, someone told me to avoid problem like this you have to install proxy in your machine is that correct? and how?, Thanks.

Yes correct, you should use a proxy
check the example

@DieBrute
Copy link

using a proxy with your example compromises the use of got and provides a nice https proxy agent Error: input stream: connect ECONNREFUSED.

Through the documentation I read, there is a incompatibility between the two packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants