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.
Dailymotion - HTTP 403 Forbidden #3229
Comments
|
It works fine here, can you watch the videos on a browser? |
|
Yes, they all play ok in a browser... |
|
works OK also |
|
Apparently some limitation are imposed by Dailymotion to the IP addresses I tried youtube-dl from. |
youtube-dl fails to download videos from dailymotion.
Tried many links, most of them fail consistently.
Some can still be downloaded but fail the next time I run youtube-dl on them.
./youtube-dl --verbose http://www.dailymotion.com/video/x20zt75_chris-harris-130-vs-australia-world-cup-1996_sport
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.dailymotion.com/video/x20zt75_chris-harris-130-vs-australia-world-cup-1996_sport']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.26
[debug] Python version 2.7.4 - Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[dailymotion] x20zt75: Downloading webpage
[dailymotion] x20zt75: Extracting information
[dailymotion] x20zt75: Downloading embed page
[debug] Invoking downloader on u'http://www.dailymotion.com/cdn/H264-512x384/video/x20zt75.mp4?auth=1405171294-2562-5cl3f0cr-ac6cf4fd3a495decedffdf156437cea1'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1022, in process_info
success = dl(filename, info_dict)
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 998, in dl
return fd.download(name, info)
File "./youtube-dl/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "./youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1227, 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)
HTTPError: HTTP Error 403: Forbidden