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 on artist videos #2179

Closed
TheGr33k opened this issue Jan 20, 2014 · 13 comments

Comments

@TheGr33k
Copy link

@TheGr33k TheGr33k commented Jan 20, 2014

Hi

I am not able to download files from certain popular artists(Pitbull and Ke$ha )
I ran the following command
youtube-dl -f 18 http://www.youtube.com/watch?v=hHUbLv4ThOo

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

I tried from 3 different servers each located in Atlanta , Seattle and Netherlands respectively but i still get same error

Btw the software is really awesome and is definitely a great piece of work

Regards

@phihag
Copy link
Contributor

@phihag phihag commented Jan 20, 2014

Can you post the output of

curl yt-dl.org/ip
youtube-dl -v hHUbLv4ThOo

from one of the servers?

The video does seem to be blocked in Germany and France, but I can download it just fine from California and Virginia..

@TheGr33k
Copy link
Author

@TheGr33k TheGr33k commented Jan 20, 2014

curl yt-dl.org/ip

2604:180::b09b:c107

youtube-dl -v hHUbLv4ThOo

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'hHUbLv4ThOo']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.17.2
[debug] Python version 2.6.6 - Linux-2.6.32-358.el6.x86_64-x86_64-with-centos-6.5-Final
[debug] Proxy map: {}
[youtube] Setting language
[youtube] hHUbLv4ThOo: Downloading webpage
[youtube] hHUbLv4ThOo: Downloading video info webpage
ERROR: YouTube said: The uploader has not made this video available in your country.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 493, in extract _info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 155, in   extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1150, 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.
@phihag
Copy link
Contributor

@phihag phihag commented Jan 20, 2014

Mmm, that looks quite in order. When you try over IPv4 (sorry, there's no switch for it yet - you'll have to temporarily remove the IPv6 address with ip -6 addr del 2604:180::b09b:c107 or so), do you get the same error? Also, can you access the videos in question via a web browser when coming from that IP?

@TheGr33k
Copy link
Author

@TheGr33k TheGr33k commented Jan 20, 2014

If i remove it how can i add it again ?

@TheGr33k
Copy link
Author

@TheGr33k TheGr33k commented Jan 20, 2014

Btw when i tried

ip -6 addr del 2604:180::b09b:c107

I get
Not enough information: "dev" argument is required.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 20, 2014

To find the device, type ip -6 addr.

You can then remove the address with

ip -6 addr del 2604:180::b09b:c107 dev DEVICE_GOES_HERE

to restore the address, rerun the same command with add instead of del (if all else fails, you can also reboot the machine).

@TheGr33k
Copy link
Author

@TheGr33k TheGr33k commented Jan 20, 2014

ip -6 addr

Gives

1: lo:  mtu 16436
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qlen 1000
    inet6 2604:180::b09b:c107/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::bfda:5376/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::95b8:54a3/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::f52a:3bc0/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::7b12:c951/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::70f6:c4f0/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::7834:8a3b/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::cf9a:582b/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::e3d5:b5b2/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::a18c:7d85/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::f81f:9f17/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::1f01:d765/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::b7a4:28c7/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::849a:b09b/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::12c5:9a8c/64 scope global
       valid_lft forever preferred_lft forever
    inet6 2604:180::e3c2:980e/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3cff:fe25:f410/64 scope link
       valid_lft forever preferred_lft forever

What is the device in this case

@phihag
Copy link
Contributor

@phihag phihag commented Jan 20, 2014

Oh, you have lots of IPv6 addresses. Then it will not be feasible to remove one. I'll try to add a flag to youtube-dl for debugging, but that may take some time.

@TheGr33k
Copy link
Author

@TheGr33k TheGr33k commented Jan 20, 2014

Please try your best to solve it asap as youtube-dl is a key component for my website
Regards

@Buzut
Copy link

@Buzut Buzut commented Jun 14, 2014

I had the same error, downloading the video from a french server. I forwarded my laptop connection to the server and accessed the video with Firefox. Youtube url : https://www.youtube.com/watch?v=-6eQbIpAvUA

As soon as I removed my ipv6, it worked like a charm…

Error message:
ERROR: -6eQbIpAvUA: YouTube said: The uploader has not made this video available in your country.

@pricejn2
Copy link

@pricejn2 pricejn2 commented Oct 21, 2014

Would have not thought IPv6 was the issue! Thanks.

@tanmauwu
Copy link

@tanmauwu tanmauwu commented Mar 27, 2019

As it's been almost five years, and @Buzut seemed to have provided a solution, perhaps this issue should be closed.

@LubosKolouch
Copy link

@LubosKolouch LubosKolouch commented Feb 16, 2020

This is now quite old issue - should be probably closed...

@remitamine remitamine closed this Feb 16, 2020
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
7 participants
You can’t perform that action at this time.