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: YouTube said: The uploader has not made this video available in your country. for ec2 east coast instances but not for ec2 west coast instances #445

Closed
ghost opened this issue Sep 30, 2012 · 10 comments

Comments

@ghost
Copy link

ghost commented Sep 30, 2012

I tried running the following two commands in an ec2 instance on the east coast
youtube-dl -F "https://www.youtube.com/watch?v=fXSovfzyx28&feature=relmfu"
youtube-dl -F "https://www.youtube.com/watch?v=dvgZkm1xWPE"
and get the following

[youtube] Setting language [youtube] dvgZkm1xWPE: Downloading video webpage [youtube] dvgZkm1xWPE: Downloading video info webpage ERROR: YouTube said: The uploader has not made this video available in your country.

However these two songs download just fine on west-1 and west-2 ec2 instances. Any ideas as to why this is happening?

@Plaque-fcc
Copy link

Well, have you tried instructing youtube-dl to authenticate using your .netrc or login/password?

This behaviour may relate to incorrect location detection by a gray IP, so manual selection at YT web page you could have performed before.

@ghost
Copy link
Author

ghost commented Sep 30, 2012

Hmm no, I haven't. I couldn't find the netrc file. I looked in the home directory of both root and ubuntu.

I was able to dl other videos from youtube from the same instance on the east coast, so I don't think youtube graylisted that IP.

@Plaque-fcc
Copy link

To be sure it's not related to youtube's choice, please try to feed
youtube-dl with your youtube login/password as seen in its manual page;
using ~/.netrc file is also not quite secure but some sort of tradition.

@FiloSottile
Copy link
Collaborator

Yeah, you should give a try to username/password, but if you fail, don't try too hard, as I am not sure about the status of the login mechanism ant it might be broken.
As for the root issue: the uploader might have copyright issues with the east coast country (?)

@sharathsrinivasa
Copy link

Hello,

I am facing the same error while downloading a playlist from the youtube.(Obviously because. I can't access that video).

So, is there an option where I can tell the youtube-dl to skip these videos when ever it encounters such errors?

PS : Sorry for hijacking the thread( Or Should I create a new thread for this issue)?

Thanks

@FiloSottile
Copy link
Collaborator

Does the -i option work? (Should, but might not)

@sharathsrinivasa
Copy link

Thanks for the quick reply.

@mpenkov
Copy link

mpenkov commented Oct 30, 2017

Is this still a problem?

There has been no activity on this issue for over 5 years, so perhaps we can close it?

@rautamiekka
Copy link
Contributor

Downloads from Finland (Europe) just fine.

joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from ytdl-org:master
@ByerDev
Copy link

ByerDev commented Jun 15, 2024

This should probably be closed...

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants