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.
Cannot download HTTP error #4879
Comments
|
Hello luciano54b and the entire youtube-dl community,
Unfortunately I have just quickly looked to the code but can not write a patch Feel free to contact me for further testing. |
|
http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=ruoCe4pPpPlussNa8IeeqqEEqual is not a valid rai link. You should use original links, e.g. http://www.rai.tv/dl/RaiTV/programmi/media/ContentItem-cb27157f-9dd0-4aee-b788-b1f67643a391.html. |
|
I was wrong... The issue is solved with the latest stable release (2015.04.17). Please note that it is better to use a rai.tv URL instead to manually search a tag, e.g., for the video in the issue:
|
/usr/local/bin/youtube-dl --verbose http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=ruoCe4pPpPlussNa8IeeqqEEqual
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=ruoCe4pPpPlussNa8IeeqqEEqual']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.04
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-x86_64-with-LinuxMint-17.1-rebecca
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6
[debug] Proxy map: {}
[generic] relinkerServlet: Requesting header
WARNING: Could not send HEAD request to http://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=ruoCe4pPpPlussNa8IeeqqEEqual: HTTP Error 403: Forbidden
[generic] relinkerServlet: Downloading webpage
ERROR: Unable to download webpage: 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 301, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1577, 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 442, in error
result = 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 629, in http_error_302
return self.parent.open(new, timeout=req.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)