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.
Please update support for canalplus.fr #4472
Comments
|
This video is geo restricted (works perfectly via french proxy). Can you watch it in browser? |
|
Confirmed, yes, does work in French proxy, albeit paiiiinfully slow (as for these one-off cases, it literally doesn't "pay off" registering at a proxy which requires a fee to use, so I took a free one instead). But as already requested by a user in Issue #4516, this non-descriptive error message ought to be replaced by one that the user can understand, one that is not only remotely hinting at the problem. (since an "Error 403" may get triggered by a plethora of different issues) |
|
In the next version it will give a proper error message, thanks for the report. |
|
Thank you very much! |
This is no "add-support" request, since you already do have support for canalplus.fr.
Unfortunately something was changed through the last months:
user@my-lubuntubox:~/tmp# echo && cat debug.log
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.canalplus.fr/c-sport/c-football/premier-league/pid6765-videos.html?vid=1183334']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.12.15
[debug] Python version 2.7.8 - Linux-3.16.0-23-generic-i686-athlon-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6
[debug] Proxy map: {}
[Canalplus] pid6765-videos.html: Downloading webpage
[Canalplus] 1183334: Downloading video XML
[Canalplus] 1183334: Downloading f4m manifest
ERROR: Unable to download f4m manifest: 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.
File "./ytdl.py/youtube_dl/extractor/common.py", line 276, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "./ytdl.py/youtube_dl/YoutubeDL.py", line 1370, in urlopen
return self._opener.open(req, timeout=self._socket_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)
This happens with latest build.
Oh, besides, I checked first, and found this is NOT a duplicate: the other user's error message was
ERROR: unable to download video data: HTTP Error 403: Forbidden
while mine is about f4m manifest file, thus a little more specific. (Unless merely the error message has been made more specific meanwhile ;))