chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 585 forks source link

403 Client Error - Need assistance #1564

Open D00oo00M opened 7 years ago

D00oo00M commented 7 years ago

i sniff and got that link "http://keshetbigb1-f.akamaihd.net/z/BB2017_1@102662/1400_48352d5966854b2e-p.bootstrap?g=LZEWCPLCXYKG&hdntl=exp=1483792087~acl=%2f*~data=hdntl~hmac=2450838aee4050a52f617487083467ce3ecf28b57c8f0e12b2d5e7ba347cfb6f&hdcore=3.0.3" im trying to stream it and got 403 Client Error... someone know what i do wrong??

Jabokoe commented 7 years ago

Livestreamer hasn't seen significant development for the past 2 years. Most people consider it abandoned, but the original github-project-creator still seems to be alive so he still holds ultimate power. With the changes in the streaming platforms livestreamer is mostly broken.

Some people recommend streamlink but I have not tested it personally.

D00oo00M commented 7 years ago

ty i will check it

Vangelis66 commented 7 years ago

@D00oo00M

The URL you posted is of no use to anyone, including you; it is a HDS bootstrap URI with a limited lifespan, the auth token contains exp=1483792087, which means it expired on Sat, 07 Jan 2017 12:28:07 GMT

To get any help, you should post (if possible) the complete URL of the page hosting the video (or audio?) you're trying to stream/download with livestreamer (/streamlink).

BTW, you should be URL sniffing for the HDS manifest file (*.manifest.f4m*) and not the bootstrap ones... If you are on Firefox, try https://addons.mozilla.org/el/firefox/addon/hds-link-detector Then, you should feed that to livestreamer/streamlink:

livestreamer -o foo.flv "hds://[full-URI-to-manifest.f4m-with-auth-token]" best (cmd for download). Keep in mind that many AdobeHDS streams employ Adobe Primetime encryption (DRM).

HTH - and please post back with your results... :smile:

D00oo00M commented 7 years ago

"this maifest requires the 'pvswf' parameter to verify the swf..." thats error i got when i put the hds://mainfest F4M ... by the way i saw when i sniff my iphone i got another m3u8 that work but its annoying to sniff the iphone every time...

edited : i get it right its worked like a charm when i add the 'pvswf' parameter.. but i have another question there is a way to make thats stream 24/7?? because after a time i need to sniff again :\

Vangelis66 commented 7 years ago

@D00oo00M wrote:

"this maifest requires the 'pvswf' parameter to verify the swf..." thats error i got when i put the hds://mainfest F4M ... (snip) edited : i get it right its worked like a charm when i add the 'pvswf' parameter...

I also only recently became aware of that paremeter; read the discussion at https://github.com/streamlink/streamlink/issues/376#issuecomment-271114075

For others watching this issue, basically you have to use your browser (Web developer -> Web console (or network) or use Page Info -> Multimedia) to grab the URI of the SWF player hosting the content you want to download/stream and then pass this URI as the argument of parameter pvswf:

livestreamer -o foo.flv "hds://[full-URI-to-manifest.f4m-with-auth-token] pvswf=[full-URI-to-embedded-SWF-player]" best

a way to make thats stream 24/7?? because after a time i need to sniff again

Sorry, I have no idea about that; the manifests do have limited lifespans in general (see the Unix timestamp at exp=xxxxxxxxxx) but once connected to a stream via a valid manifest I have no clue how they control the amount of time you can stay connected to the same stream before they cut you out (and a fresh manifest is required...).

Maybe others can advise some form of automation for you...

D00oo00M commented 7 years ago

ty alot dude for your help :)