Skip to content
Advertisement

HLS (apple http stream) video download

I have video in HLS format. And I would like to save it to disk. I want to see it with VLC offline with no adds. 🙂

Is there a simple way to do it? ( I am using Linux mint so it easy to run scripts)

Thanks in advance.

Advertisement

Answer

The tricky part is to find the cookie given to you by the browser (e.g acl/hmac). So I run another script to catch this data ( while running web-browser to see the video).

JavaScript

Once you have cookie you can close the browser and download the video without commercials via ffmpeg

For example I download with:

JavaScript

For Windows user you can read the cookie using wireshark.

Advertisement