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.
SBS Unable to download 403 Forbidden #3811
Comments
|
I just started getting HTTP Error 403: Forbidden on youtube as well, trying from different machines in different geographical areas. Might be related? |
|
@dotancohen Your issue is unrelated, please open a new issue with the output of |
|
It's weird, when I try to watch the video I saw an ad and then I get this message: In the next version, urls like http://www.sbs.com.au/ondemand/video/11840579591/Rockwiz-McClymont-Sisters-and-John-Williamson will be recognized. |
|
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. |
|
I think I'm seeing the same issue in youtube-dl version 2015.03.09:
|
|
When looking at the actual url downloaded in the webpage it looks like this: http://sbsvodns-vh.akamaihd.net/z/vod/SBS_Production/managed/2015/03/09/2015-03-09_476297_,1500,1000,512,128,K.mp4.csmil/0_5694a0b3320ce75e_Seg1-Frag5?hdntl=exp=1426302075~acl=%2f*~data=hdntl~hmac=a50159fbbe908e1e18d8020171d9b7a08d2dd2653b865dc65316d3373f72179b&als=10.26,300,3.48,3,1423,3742,25.64,2,0,75,f,13.7,2769.03,f,s,LSNSTQVESOFN,3.5.0,75&hdcore=3.5.0 Seems the url has changed. |
|
Having a look at the sbs extractor it looks for playerParams.releaseUrls which in my case was: http://link.theplatform.com/s/Bgtm9B/jtpzId_hkbsp?feed=Video%20-%20Single&manifest=f4m&mbr=true&ord=1836540&policy=11929623&dfptag=sz%3D530x298%26iu%3D%2F4117%2Fvideo.food.sbs.com.au%2Fsec30%26ciu_szs%26impl%3Ds%26gdfp_req%3D1%26env%3Dvp%26output%3Dxml_vast3%26unviewed_position_start%3D1%26url%3Dwww.sbs.com.au%26description_url%3DSBS%26cust_params%3Dtype%253Dpreroll%26ad_rule%3D1%26cmsid%3D531%26url%3Dhttp%253A%252F%252Fwww.sbs.com.au%252Fondemand%252Fvideo%252F53466691641%252FHestons-Fantastical-Food-Fantastical-Christmas%26description_url%3DSBS%26correlator%3D1426218012%26vid%3D53466691641 Downloading this file gave me: <smil xmlns="http://www.w3.org/2005/SMIL21/Language">
<head>
</head>
<body>
<seq>
<par>
<video src="http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2015/03/09/2015-03-09_476297_1500K.mp4" title="Heston's Fantastical Food S1 Ep7 - Fantastical Christmas" abstract="Fantastical Christmas - In tonight's final episode, Heston Blumenthal tackles the challenge of making the ultimate Christmas dinner. In the grownup world, Christmas has lost some of its wonder. But Heston wants to change that and plans to create a supersized festive food adventure, to be enjoyed by people who normally have to work on Christmas Day. Heston visits Hampton Court, and discovers that instead of turkey, our ancestors preferred to eat pig's head, which he puts on the menu alongside edible decorations. Then for dessert, Heston makes the biggest Christmas pudding ever - one that's large enough to step inside. (From the UK) (Food Series) PG CC
" copyright="SBS" dur="2769000ms" guid="476297" categories="Section::Section/Programs,Channel::Channel/SBS1,Genre::Food,Food/Food" ratings="urn%3Awww.acma.gov.au%3Atv:pg" type="video/mp4" clipBegin="0:00" clipEnd="6:13.625">
</video>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.DFXP" type="application/ttaf+xml"/>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.SRT" type="text/srt"/>
</par>
<par>
<video src="http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2015/03/09/2015-03-09_476297_1500K.mp4" title="Heston's Fantastical Food S1 Ep7 - Fantastical Christmas" abstract="Fantastical Christmas - In tonight's final episode, Heston Blumenthal tackles the challenge of making the ultimate Christmas dinner. In the grownup world, Christmas has lost some of its wonder. But Heston wants to change that and plans to create a supersized festive food adventure, to be enjoyed by people who normally have to work on Christmas Day. Heston visits Hampton Court, and discovers that instead of turkey, our ancestors preferred to eat pig's head, which he puts on the menu alongside edible decorations. Then for dessert, Heston makes the biggest Christmas pudding ever - one that's large enough to step inside. (From the UK) (Food Series) PG CC
" copyright="SBS" dur="2769000ms" guid="476297" categories="Section::Section/Programs,Channel::Channel/SBS1,Genre::Food,Food/Food" ratings="urn%3Awww.acma.gov.au%3Atv:pg" type="video/mp4" clipBegin="6:13.625" clipEnd="22:55.542">
</video>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.DFXP" type="application/ttaf+xml"/>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.SRT" type="text/srt"/>
</par>
<par>
<video src="http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2015/03/09/2015-03-09_476297_1500K.mp4" title="Heston's Fantastical Food S1 Ep7 - Fantastical Christmas" abstract="Fantastical Christmas - In tonight's final episode, Heston Blumenthal tackles the challenge of making the ultimate Christmas dinner. In the grownup world, Christmas has lost some of its wonder. But Heston wants to change that and plans to create a supersized festive food adventure, to be enjoyed by people who normally have to work on Christmas Day. Heston visits Hampton Court, and discovers that instead of turkey, our ancestors preferred to eat pig's head, which he puts on the menu alongside edible decorations. Then for dessert, Heston makes the biggest Christmas pudding ever - one that's large enough to step inside. (From the UK) (Food Series) PG CC
" copyright="SBS" dur="2769000ms" guid="476297" categories="Section::Section/Programs,Channel::Channel/SBS1,Genre::Food,Food/Food" ratings="urn%3Awww.acma.gov.au%3Atv:pg" type="video/mp4" clipBegin="22:55.542" clipEnd="36:06.917">
</video>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.DFXP" type="application/ttaf+xml"/>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.SRT" type="text/srt"/>
</par>
<par>
<video src="http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2015/03/09/2015-03-09_476297_1500K.mp4" title="Heston's Fantastical Food S1 Ep7 - Fantastical Christmas" abstract="Fantastical Christmas - In tonight's final episode, Heston Blumenthal tackles the challenge of making the ultimate Christmas dinner. In the grownup world, Christmas has lost some of its wonder. But Heston wants to change that and plans to create a supersized festive food adventure, to be enjoyed by people who normally have to work on Christmas Day. Heston visits Hampton Court, and discovers that instead of turkey, our ancestors preferred to eat pig's head, which he puts on the menu alongside edible decorations. Then for dessert, Heston makes the biggest Christmas pudding ever - one that's large enough to step inside. (From the UK) (Food Series) PG CC
" copyright="SBS" dur="2769000ms" guid="476297" categories="Section::Section/Programs,Channel::Channel/SBS1,Genre::Food,Food/Food" ratings="urn%3Awww.acma.gov.au%3Atv:pg" type="video/mp4" clipBegin="36:06.917">
</video>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.DFXP" type="application/ttaf+xml"/>
<textstream src="http://videocdn.sbs.com.au/u/video/SBS/managed/closedcaptions/2015/03/09/476297.SRT" type="text/srt"/>
</par>
</seq>
</body>
</smil>Which seems to be where youtube-dl is getting the url: http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2015/03/09/2015-03-09_476297_1500K.mp4 Any ideas why this isn't working? |
|
Hello, Thanks for you return, |
|
Hello, I tried some video and i found some with HTTP 403 and some OK. When we had HTTP 403 we didn't download "Downloading f4m manifest". The two video working on my browser. ./youtube-dl http://www.sbs.com.au/ondemand/video/254180931901/Secret-Sunshine -v ./youtube-dl http://www.sbs.com.au/ondemand/video/439389251722/Vikings-S3-Ep10-The-Dead?cid=od:v2:15 -v Best regards, |
|
Just a note on what I've noticed so far. The playerParams (in the sbs website) has two different urls in it - one for f4m manifest and another for m3u manifest. theplatform extractor (which is called after the sbs extractor) always downloads using a f4m manifest (XML based). I tried forcing it to download the m3u manifest (using force_smil_url), but that was fruitless, as all the code that parses the result is expecting xml (which m3u isn't) The 403 from the f4m manifest is still very puzzling. cheers, |
|
Hello, Best regards, |
|
I found them but i tried the two m3u and f4m for this url http://www.sbs.com.au/ondemand/video/473107011820/the-hunt and there is the same information download and i get 403. Could you please try if it is working for you ? Best regards, |
|
it works in Australia without a problem for both f4m and m3u8 manifests:
m3u8 downloading:
|
|
Hi @remitamine. I am also in Australia - my provider is Internode. I have tried to download the same program and it fails. I've noticed the link that it tries to download is different ( http://sbsauvod-f.akamaihd.net/SBS_Production/managed/2012/07/2258104629_1500K.mp4). I tried to download the link in your f4m output and I got a 403 (but that may be because the link has an expiry date in it) . I have also tried using the external downloader aria2c like in your example but that also failed.
|
|
in my case youtube-dl get f4m and m3u8(using a custom version) links but in your case you get a direct link. |
Following the update in #3176 I tried to download from SBS again, but still got the 403 Forbidden error.
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-Williamsoninstead of having to change the URL tohttp://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.