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

[PBS] "HTTP Error 403: FORBIDDEN" - please include geoblock explanation. #4516

Closed
anovicecodemonkey opened this issue Dec 19, 2014 · 3 comments
Closed

Comments

@anovicecodemonkey
Copy link

@anovicecodemonkey anovicecodemonkey commented Dec 19, 2014

$ youtube-dl --verbose http://video.pbs.org/video/2365155890/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://video.pbs.org/video/2365155890/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 3.4.2 - Linux-3.17.4-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.4.4, ffprobe 2.4.4, rtmpdump 2.4
[debug] Proxy map: {}
[PBS] 2365155890: Downloading JSON metadata
[debug] Invoking downloader on 'http://urs.pbs.org/redirect/c4217ba7372343cbabbbeb2800fb62c4/'
ERROR: unable to download video data: HTTP Error 403: FORBIDDEN
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1136, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1112, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 297, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 67, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1370, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 461, in open
    response = meth(req, response)
  File "/usr/lib/python3.4/urllib/request.py", line 571, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.4/urllib/request.py", line 499, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 579, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: FORBIDDEN
@anovicecodemonkey anovicecodemonkey changed the title [PBS] 403 [PBS] "HTTP Error 403: FORBIDDEN" Dec 19, 2014
@anovicecodemonkey anovicecodemonkey changed the title [PBS] "HTTP Error 403: FORBIDDEN" [PBS] "HTTP Error 403: FORBIDDEN" - please include geoblock explanation. Dec 20, 2014
@andreas--e
Copy link

@andreas--e andreas--e commented Dec 24, 2014

+1 Yes, that would be great, because I've run into another geoblocked issue (Issue #4472) and also got this non-descriptive "Error 403" error message.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 31, 2014

Thanks for the report, in the next version you'll get a proper error message.

@andreas--e
Copy link

@andreas--e andreas--e commented Mar 29, 2015

Thank you very much!

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
3 participants
You can’t perform that action at this time.