youtube-dl: SBS Unable to download 403 Forbidden
Following the update in #3176 I tried to download from SBS again, but still got the 403 Forbidden error.
$ youtube_dl --verbose "http://www.sbs.com.au/ondemand/video/single/11840579591/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.sbs.com.au/ondemand/video/single/11840579591/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.19
[debug] Git HEAD: d0df929
[debug] Python version 2.7.6 - Darwin-14.0.0-x86_64-i386-64bit
[debug] Proxy map: {}
[SBS] 11840579591: Downloading webpage
[ThePlatform] RVmlCdUsLKMZ: Downloading XML
[ThePlatform] RVmlCdUsLKMZ: Downloading webpage
[debug] Invoking downloader on 'http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2012/07/2258104629_1500K.mp4'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "youtube_dl/YoutubeDL.py", line 1037, in process_info
success = dl(filename, info_dict)
File "youtube_dl/YoutubeDL.py", line 1013, in dl
return fd.download(name, info)
File "youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "youtube_dl/downloader/http.py", line 66, in real_download
data = self.ydl.urlopen(request)
File "youtube_dl/YoutubeDL.py", line 1265, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/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
Also, it would be nice if youtube-dl could detect downloading from the SBS page URL http://www.sbs.com.au/ondemand/video/11840579591/Rockwiz-McClymont-Sisters-and-John-Williamson instead of having to change the URL to http://www.sbs.com.au/ondemand/video/single/11840579591/. Looks like SBS might have changed the way it puts the video player on the page and doesn’t have that link anymore.
If you need an Australian server to test SBS from, let me know and I can help you out.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 1
- Comments: 16 (2 by maintainers)
Commits related to this issue
- [sbs] Recognize urls with format 'http://www.sbs.com.au/ondemand/video/<id>' (#3811) — committed to ytdl-org/youtube-dl by jaimeMF 10 years ago
I am able to watch the videos fine, either with an ad before or not. Though I am in Australia, so I don’t have any geo blocking.
Again, if you need access to a server in Australia (CLI only), I can get you that for testing.