Download it from Docker (Isn't it obvious?)
You want to downlad something right?
docker run -v $PWD:/tmp/workdir --rm jrottenberg/ffmpeg -user_agent "<UserAgent string>" -i <M3U8_URI> -c copy <FILENAME>.mkv
Command explain
docker run
- execute container-v $PWD/:/tmp/workdir
- Mount current directory in container workdir--rm
- remove container after exitjrottenberg/ffmpeg
- ffmpeg container-user_agent "long user agent string"
- how ffmpeg should introduce itself to webserver. You can get most actual user agents from WhatIsMyBrowser most common agents list-i <M3U8_URI>
- Input URL-c copy <FILENAME>.mkv
- this one says that we want to concacenate all files from m3u8 playlist and save them as filename.