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.
[9now] Can't get around georestrictions with proxy or without... #15920
Comments
|
You must have system wide VPN or non transparent non banned proxy. |
|
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. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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.