Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ERROR: YouTube said: The uploader has not made this video available in your country. #1091
Comments
|
From which country are you testing this? Can you see the videos on the webpage? |
|
I tested the link in the UK and also on a Windows dedicated server I have in the USA. They both play in the web browser fine. The script is being run from a Linux server in the same datacenter as the Windows dedicated server in the USA (and the windows server works in a web browser). |
|
Am i doing something wrong or is there an issue? |
|
@phihag |
|
Can you see the videos from the same server? Windows and Linux machines may be routed differently. If it still works in the webbrowser (or an analogue) and on the machine, could you give me access to the problematic machine in question? |
|
Not sure exactly how to test if the video plays on a centos command line server. i can give you access. |
|
@phihag just sent you an email with login credentials |
|
As I assumed, the Linux box is not recognized as being the US by YouTube, and the problem is unrelated to youtube-dl. |
|
I'm from India, I can download videos from my local machine but I've a server from US which doesn't allow to download the same video. Now is there any way to bypass the country restrictions in youtube-dl or will I have to put my server in India? |
|
I have similar issue i have some solution for this YouTube said: This video is available in India only. Solutionuse proxy server from india List of indian proxy servers with speed |
Hi,
I can't get this to download some youtube videos. I receive the error:
ERROR: YouTube said: The uploader has not made this video available in your country.
examples:
http://www.youtube.com/watch?v=BrbxWOMpwfs
http://www.youtube.com/watch?v=LrUvu1mlWco
[root@vps scripts]# python2.7 ./youtube-dl http://www.youtube.com/watch?v=LrUvu1mlWco --max-quality 22 -x --audio-format m4a -o '/var/www/html/storage/%(id)s.%(ext)s' -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=LrUvu1mlWco', '--max-quality', '22', '-x', '--audio-format', 'm4a', '-o', '/var/www/html/storage/%(id)s.%(ext)s', '-v']
[debug] youtube-dl version 2013.07.19
[debug] Python version 2.7.3 - Linux-2.6.18-348.el5xen-x86_64-with-redhat-5.9-Final
[debug] Proxy map: {}
[youtube] Setting language
[youtube] LrUvu1mlWco: Downloading video webpage
[youtube] LrUvu1mlWco: Downloading video info webpage
ERROR: YouTube said: The uploader has not made this video available in your country.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 462, in _real_extract
raise ExtractorError(u'YouTube said: %s' % video_info['reason'][0], expected=True)
ExtractorError: YouTube said: The uploader has not made this video available in your country.