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

Dailymotion - HTTP 403 Forbidden #3229

Closed
vgrachev8 opened this issue Jul 10, 2014 · 4 comments
Closed

Dailymotion - HTTP 403 Forbidden #3229

vgrachev8 opened this issue Jul 10, 2014 · 4 comments

Comments

@vgrachev8
Copy link

@vgrachev8 vgrachev8 commented Jul 10, 2014

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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 10, 2014

It works fine here, can you watch the videos on a browser?

@vgrachev8
Copy link
Author

@vgrachev8 vgrachev8 commented Jul 10, 2014

Yes, they all play ok in a browser...

@jjit
Copy link

@jjit jjit commented Jul 15, 2014

works OK also
youtube-dl -f standard "http://www.dailymotion.com/video/x20zt75_chris-harris-130-vs-australia-world-cup-1996_sport"
[dailymotion] x20zt75: Downloading webpage
[dailymotion] x20zt75: Extracting information
[dailymotion] x20zt75: Downloading embed page
[download] Destination: Chris Harris 130 vs Australia WORLD CUP 1996-x20zt75.mp4
[download] 26.5% of 13.79MiB at 82.29KiB/s ETA 02:06

@vgrachev8
Copy link
Author

@vgrachev8 vgrachev8 commented Jul 16, 2014

Apparently some limitation are imposed by Dailymotion to the IP addresses I tried youtube-dl from.
Not a youtube-dl problem, closing.

@vgrachev8 vgrachev8 closed this Jul 16, 2014
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
3 participants
You can’t perform that action at this time.