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

[9now] Can't get around georestrictions with proxy or without... #15920

Closed
FONMaster opened this issue Mar 19, 2018 · 2 comments
Closed

[9now] Can't get around georestrictions with proxy or without... #15920

FONMaster opened this issue Mar 19, 2018 · 2 comments
Labels

Comments

@FONMaster
Copy link

@FONMaster FONMaster commented Mar 19, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.03.14

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

I can't figure out why I can't break 9now georestrictions - I've tried standalone, with VPN, and on a VPS in Melbourne, and I can't youtube-dl from 9now. Is there something I am doing wrong? Is there a defect?

$ youtube-dl --verbose https://www.9now.com.au/footy-classified/2018/episode-1/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.9now.com.au/footy-classified/2018/episode-1/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.14
[debug] Python version 2.7.12 (CPython) - Linux-3.13.0-24-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[9now.com.au] episode-1: Downloading webpage
[brightcove:new] 5754110525001: Downloading webpage
[brightcove:new] 5754110525001: Downloading JSON metadata
ERROR: Access to this resource is forbidden by access policy.
You might want to use a VPN or a proxy server (with --proxy) to workaround.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 706, in _real_extract
json_data = self._download_json(api_url, video_id, headers=headers)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 680, in _download_json
encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/adobepass.py", line 1332, in _download_webpage_handle
*args, **compat_kwargs(kwargs))
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 539, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 528, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 785, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 712, in _real_extract
self.raise_geo_restricted(msg=message)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 731, in raise_geo_restricted
raise GeoRestrictedError(msg, countries=countries)
GeoRestrictedError: Access to this resource is forbidden by access policy.


@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 19, 2018

You must have system wide VPN or non transparent non banned proxy.

@dstftw dstftw closed this Mar 19, 2018
@dstftw dstftw added the invalid label Mar 19, 2018
@FONMaster
Copy link
Author

@FONMaster FONMaster commented Mar 19, 2018

I hate to call this out, but the VPS I'm using is in Australia... not using a proxy. The verbose from above is off the AU VPS.

@dstftw dstftw reopened this Mar 19, 2018
@dstftw dstftw closed this in fbb7b73 Mar 19, 2018
dstftw added a commit that referenced this issue Mar 19, 2018
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.