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

HTTP Error 403: Forbidden #1595

Closed
mafrosis opened this issue Oct 13, 2013 · 4 comments
Closed

HTTP Error 403: Forbidden #1595

mafrosis opened this issue Oct 13, 2013 · 4 comments

Comments

@mafrosis
Copy link

@mafrosis mafrosis commented Oct 13, 2013

> youtube-dl --verbose http://www.youtube.com/watch\?v\=MH6JmwsRhS0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=MH6JmwsRhS0']
[debug] youtube-dl version 2013.09.20.1
[debug] Python version 2.7.3 - Linux-3.2.0-3-rt-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] MH6JmwsRhS0: Downloading video webpage
[youtube] MH6JmwsRhS0: Downloading video info webpage
[youtube] MH6JmwsRhS0: Extracting video information
[youtube] MH6JmwsRhS0: Encrypted signatures detected.
[youtube] encrypted signature length 86 (44.41), itag 44, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 35, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 43, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 34, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 18, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 5, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 36, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 17, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 135, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 134, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 133, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 160, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 139, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 140, html5 player vflZ4JlpT
[youtube] encrypted signature length 86 (44.41), itag 141, html5 player vflZ4JlpT
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 546, in process_info
    success = self.fd._do_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/FileDownloader.py", line 435, in _do_download
    data = compat_urllib_request.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
@mafrosis
Copy link
Author

@mafrosis mafrosis commented Oct 13, 2013

refs #1018

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 13, 2013

Update to a more recent version: sudo youtube-dl -U, it's working with the latest versions.
Thanks for the report, if you update and still have the problem, comment here and I'll reopen the issue.

@jaimeMF jaimeMF closed this Oct 13, 2013
@mafrosis
Copy link
Author

@mafrosis mafrosis commented Oct 13, 2013

Thanks. I'd made the assumption PyPi would be up to date with the latest version - is PyPi not to be used? Is there a reason Pypi can't be used?

@mafrosis
Copy link
Author

@mafrosis mafrosis commented Oct 13, 2013

Huh, just checked PyPi and it has a more recent version than my report. I'll double check this when I'm back on my dev machine.. Apologies if I'm mistaken!

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.