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

Video not available in server's country (USA) #3521

Closed
wassgha opened this issue Aug 15, 2014 · 6 comments
Closed

Video not available in server's country (USA) #3521

wassgha opened this issue Aug 15, 2014 · 6 comments

Comments

@wassgha
Copy link

@wassgha wassgha commented Aug 15, 2014

Hello, I have a problem with youtube-dl running on a server in USA. It return this error on almost all videos:
ERROR: VuNIsY6JdUw: YouTube said: Unfortunately, this video is not available in your country because it could contain music, for which we could not agree on conditions of use with GEMA.
Screenshot:
screen shot 2014-08-15 at 14 31 38
Can you help me please?

@phihag
Copy link
Contributor

@phihag phihag commented Aug 15, 2014

Are you sure your server's connection is routed in the US as well? If so, it may be an error in YouTube's geodetection. Can you post the output of curl https://yt-dl.org/ip and ip -6 a from your server? If you don't want to see them in public, you can also mail them to me at phihag@phihag.de.

@wassgha
Copy link
Author

@wassgha wassgha commented Aug 15, 2014

root@host []# curl https://yt-dl.org/ip
192.3.7.189root@host [
]# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
root@host [~]#

@phihag
Copy link
Contributor

@phihag phihag commented Aug 15, 2014

Ok, that address is definitly in the US, so that shouldn't be the problem. What do you see if you visit the site from that address in a webrowser?

@wassgha
Copy link
Author

@wassgha wassgha commented Aug 15, 2014

Here's a small php proxy of a youtube video as seen by the server (the code I used: )
http://www.thatmp3.com/freebee/youtube.php
It thinks the server is in germany...

@wassgha
Copy link
Author

@wassgha wassgha commented Aug 16, 2014

Is there any solution :( ?

@phihag
Copy link
Contributor

@phihag phihag commented Aug 16, 2014

Sorry, this is out of the scope of youtube-dl. You can use a proxy, or request another IP address from a different block, or contact YouTube and hope they fix their geolocation database.

@phihag phihag closed this Aug 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.