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

canal-plus.fr forbidden #3069

Closed
ricardors19 opened this issue Jun 12, 2014 · 5 comments
Closed

canal-plus.fr forbidden #3069

ricardors19 opened this issue Jun 12, 2014 · 5 comments

Comments

@ricardors19
Copy link

@ricardors19 ricardors19 commented Jun 12, 2014

Error 403 when trying download video from canal-plus.fr

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 12, 2014

@m0g
Copy link

@m0g m0g commented Sep 23, 2014

Here is the full output:

$ youtube-dl -ct http://www.canalplus.fr/c-divertissement/pid1784-c-les-guignols.html\?vid\=1136196 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-ct', 'http://www.canalplus.fr/c-divertissement/pid1784-c-les-guignols.html?vid=1136196', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out None, pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-35-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 953, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 929, in dl
    return fd.download(name, info)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 290, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 52, in real_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 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
@naglis
Copy link
Collaborator

@naglis naglis commented Sep 23, 2014

Hi, @mog,
Thanks for your report, however, I can't reproduce the error with your given URL. You are using an outdated version of youtube-dl (2014.02.17) and the canalplus extractor has seen quite some changes since then, so I would encourage you to update youtube-dl to the latest version and try again. Also, your issue might be unrelated to ricardors19, so if you still experience issues after updating, please open a new issue with the output of youtube-dl with the --verbose flag on.

@m0g
Copy link

@m0g m0g commented Sep 23, 2014

Indeed it does solve the problem

@dstftw dstftw closed this Sep 23, 2014
@hadess
Copy link

@hadess hadess commented Sep 20, 2015

I can reproduce that bug on newer versions of youtube-dl, see #6301

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