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

How do I know where I am for "ERROR: The uploader has not made this video available in your country." #23972

Closed
Reapor-Yurnero opened this issue Feb 5, 2020 · 5 comments
Labels

Comments

@Reapor-Yurnero
Copy link

@Reapor-Yurnero Reapor-Yurnero commented Feb 5, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

I have a VPS in US and another one in singapore, trying to download some specific music, like "darkness" from eminem and "bad guy" but it shows ERROR: The uploader has not made this video available in your country or this video is not available. I tried to do exactly the same thing on the local machine. But I found it works perfect no matter in singapore or us. I feel very confused and I check the ip address of my vps and confirmed that they are really located in us and singapore. But in this case how could youtube block this? Is there any possible way to show where youtube think I'm located for each request? (Use --geo-bypass does not help)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2020

Youtube does not report its guessed location.

@dstftw dstftw closed this Feb 5, 2020
@Reapor-Yurnero
Copy link
Author

@Reapor-Yurnero Reapor-Yurnero commented Feb 5, 2020

Youtube does not report its guessed location.

Do you have any idea on how to solve this in that case? What might cause a server in us not be able to access a video open in us?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2020

Solve what? You don't even bother to provide any context.

@Reapor-Yurnero
Copy link
Author

@Reapor-Yurnero Reapor-Yurnero commented Feb 5, 2020

Cuz I don't want to bother readers with more than enough info.

$ youtube-dl -v hHUbLv4ThOo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'hHUbLv4ThOo']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-52-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] hHUbLv4ThOo: Downloading webpage
[youtube] hHUbLv4ThOo: Downloading video info webpage
ERROR: The uploader has not made this video available in your country.
Sorry about that.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2153, in _real_extract
raise ExtractorError(error_message, expected=True)
ExtractorError: The uploader has not made this video available in your country.
Sorry about that.

As I have said, I do exactly the same thing on my own computer in the same country, and it works.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2020

Working on your own computer via your own outgoing IP means effectively nothing. What you must check is whether it does work from browser via VPS with clean session, if not then you can't make youtube-dl work either.

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.