PDA

View Full Version : Error message 403


bigfoot
04-27-2015, 07:37 AM
Hello

I can watch "Tou.Tv" replay with the help of "Hola Unblocker" but when I try to catch this video

http://ici.tou.tv/bardot-la-meprise?r

403 Client Error message appears:

C:\Documents and Settings\Administrateur>livestreamer --http-header "User-Agent=
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)" hlsvariant://ht
tps://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardo
t_0001_,500,800,1200,2000,.mp4.csmil/master.m3u8?hdnea=st=1429975678~exp=1432567
678~acl=/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=e002702df42 a
00c89d383411406d16763d50a64334eb2cb55ae70793de16dc 4f best -o video.ts

[cli][info] Found matching plugin stream for URL hlsvariant://https://toutvunive
r1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,
1200,2000,.mp4.csmil/master.m3u8?hdnea=st=1429975678~exp=1432567678~acl =/i/008/m
p4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=e002702df42 a00c89d383411406d
16763d50a64334eb2cb55ae70793de16dc4f

error: Unable to open URL: https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014
-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hd
nea=st=1429975678~exp=1432567678~acl=/i/008/mp4/b/2014-03-18_07_00_00_brigitteba
rdot_0001_*~hmac=e002702df42a00c89d383411406d16763 d50a64334eb2cb55ae70793de16dc4
f (403 Client Error: Forbidden)

How to succeed with your magic tricks ?

Thanks in advance

nullacht
04-27-2015, 02:54 PM
livestreamer "hlsvariant://https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430167481~exp=1432759481~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=dd481f9219c 43018c03ac2c83852ff9fdb0c2295199b8328cd153f73b5859 5a0" best -o 01.ts


[cli][info] Found matching plugin stream for URL hlsvariant://https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430167481~exp=1432759481~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=dd481f9219c 43018c03ac2c83852ff9fdb0c2295199b8328cd153f73b5859 5a0
[cli][info] Available streams: 288p (worst), 360p, 480p (best)
[cli][info] Opening stream: 480p (hls)

joejones15
04-27-2015, 03:38 PM
remember that the parts I highlight in red below expire quickly and are unique each to you capture:

livestreamer "hlsvariant://https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430167481~exp=1432759481~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=dd481f9219c 43018c03ac2c83852ff9fdb0c2295199b8328cd153f73b5859 5a0" best -o 01.ts

bigfoot
04-27-2015, 07:50 PM
Nullacht, joejones15, thank you for looking at my case.

Although I 'm as fast as possible to change the instruction, the same result occurs.

C:\Documents and Settings\Administrateur>livestreamer "hlsvariant://https://tout
vuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,50
0,800,1200,2000,.mp4.csmil/master.m3u8?hdnea=st=1430180837~exp=1432772837~acl =/i
/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=a393f7848e8 3b8fc45a8b0
da56fe04c62396b2b2297a5ade31db26bab65e29bb" best -o 01.ts

[cli][info] Found matching plugin stream for URL hlsvariant://https://toutvunive
r1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,
1200,2000,.mp4.csmil/master.m3u8?hdnea=st=1430180837~exp=1432772837~acl =/i/008/m
p4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=a393f7848e8 3b8fc45a8b0da56fe
04c62396b2b2297a5ade31db26bab65e29bb

error: Unable to open URL: https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014
-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hd
nea=st=1430180837~exp=1432772837~acl=/i/008/mp4/b/2014-03-18_07_00_00_brigitteba
rdot_0001_*~hmac=a393f7848e83b8fc45a8b0da56fe04c62 396b2b2297a5ade31db26bab65e29b
b (403 Client Error: Forbidden)

Is it possible to get a much higher resolution with another protocol?
(Misreading from myself ? Based on the the manifest, I was expecting more than 480p)

nullacht
04-27-2015, 11:46 PM
wget --header "X-Forwarded-For: 159.33.65.39" "http://api.radio-canada.ca/validationMedia/v1/Validation.html?deviceType=ipad&appCode=thePlatform&connectionType=broadband&output=json&idMedia=108402"

{"url":"https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430199525~exp=1432791525~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=081f84cca30 b19952c9e9cedff3e0eca44a5632c126330053438a24d8790c 6e4","message":null,"errorCode":0,"params":[{"name":"mediaType","value":"video"},{"name":"tokenId","value":1}],"bitrates":null}

livestreamer "hlsvariant://https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430199525~exp=1432791525~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=081f84cca30 b19952c9e9cedff3e0eca44a5632c126330053438a24d8790c 6e4" best -o 01.ts

[cli][info] Found matching plugin stream for URL hlsvariant://https://toutvuniver1-vh.akamaihd.net/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/master.m3u8?hdnea=st=1430199525~exp=1432791525~acl =/i/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=081f84cca30 b19952c9e9cedff3e0eca44a5632c126330053438a24d8790c 6e4
[cli][info] Available streams: 288p (worst), 360p, 480p (best)
[cli][info] Opening stream: 480p (hls)

livestreamer "hds://toutvuniver1-vh.akamaihd.net/z/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/manifest.f4m?hdnea=st=1430161800~exp=1432753800~ac l=/z/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=f5f2609df47 38efa7667082481162b3fc933967aa5b69f9ed3e40fa2cf3f8 9d0&hdcore=3.5.0 pvswf=http://static.tou.tv/console/radiocanada/v2/ConsoleProd.swf" best -o 01.flv


[cli][info] Found matching plugin stream for URL hds://toutvuniver1-vh.akamaihd.net/z/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_,500,800,1200,2000 ,.mp4.csmil/manifest.f4m?hdnea=st=1430161800~exp=1432753800~ac l=/z/008/mp4/b/2014-03-18_07_00_00_brigittebardot_0001_*~hmac=f5f2609df47 38efa7667082481162b3fc933967aa5b69f9ed3e40fa2cf3f8 9d0&hdcore=3.5.0 pvswf=http://static.tou.tv/console/radiocanada/v2/ConsoleProd.swf
[cli][info] Available streams: 1324k, 2124k (best), 560k (worst), 924k
[cli][info] Opening stream: 2124k (hds)
[stream.hds][error] Unknown tag type found, this stream is probably encrypted

bigfoot
04-28-2015, 03:01 AM
@nullnacht

HDS is to forget, because it is encrypted , is not it ?

I would like to understand the meaning of your code

wget --header "X-Forwarded-For: 159.33.65.39" "http://api.radio-canada.ca/validationMedia/v1/Validation.html?deviceType=ipad&appCode=thePlatform&connectionType=broadband&output=json&idMedia=108402"

If you used a proxy for this test, can you give its name ?

@stinkfoot

Thank you , your analysis is probably good.

I need another proxy for confirmation.

Can you recommend me a free one ?

biezom
04-28-2015, 10:43 AM
hi
if you want better quality 720p

you can add 3000,

brigittebardot_0001_,500,800,1200,2000,3000,.mp4.c smil/master.m3u8

no need proxy with nullnacht code

bigfoot
04-29-2015, 10:58 AM
Thank you biezom

Bad luck follows me for this broadcasting.

New try : same result 403 Client Error: Forbidden

no need proxy with nullnacht code

How can I get a good "manifest.f4m/master.m3u8" without proxy or vpn, I live in France not in Canada ?

I tested my system with a link given by you here :

http://stream-recorder.com/forum/showpost.php?p=76083&postcount=2

The result is ok at first try.

biezom
04-29-2015, 11:28 AM
Thank you biezom

Bad luck follows me for this broadcasting.

New try : same result 403 Client Error: Forbidden



How can I get a good "manifest.f4m/master.m3u8" without proxy or vpn, I live in France not in Canada ?

I tested my system with a link given by you here :

http://stream-recorder.com/forum/showpost.php?p=76083&postcount=2

The result is ok at first try.

i live in france too
did you use nullnacht's code


if you use windows you need install wget (static) before
wget 1.11.4 old
http://nebm.ist.utl.pt/~glopes/wget/
choose your version 32bit or 64bit
wget 1.13.4 more recent
https://code.google.com/p/mingw-and-ndk/downloads/detail?name=wget-1.13.4-static-mingw.7z
unzip in C:\wget for example
run cmd.exe command shell
go in wget folder
cd C:\wget

and paste the nullnacht's code (i add -O option easer to open with notepad)

wget --header "X-Forwarded-For: 159.33.65.39" -O getm3u8.txt "http://api.radio-canada.ca/validationMedia/v1/Validation.html?deviceType=ipad&appCode=thePlatform&connectionType=broadband&output=json&idMedia=108402"
so it download file in C:\wget getm3u8.txt
open getm3u8.txt with notepad (bloc-notes in french)
and you can see the m3u8 link with max quality 408p
if you want 720p quality see my previous post

bigfoot
04-30-2015, 02:10 AM
Thank you biesom

Your indications were perfect, it worked like a charm.

I even added in my basket a documentary about carmaker Renault and it's done.

But how did you known, we could get 720p ? It does not appears in the dialogues.

Something else, a private joke is coming ;) : https://www.youtube.com/watch?v=D5dbcenffyw

Have a nice day, you fully deserve it !