Videos on most sites make use of progressive downloading, which means that the video is downloaded to my computer, and easy to trace. There are lots of extensions out there
I needed to download HLS video and audio streams from a e-learning portal with session-protected content with application/mp2t
MIME content type.
Manually copying all authentication headers into the downloading scripts would be too cumbersome.
But the task got much easier with help of Video DownloadHelper Firefox extension and it's Companion App. It allowed to download both m3u8 playlists with TS chunks lists and actual video and audio streams into mp4 files via a click of button while correctly preserving authentication headers.
The resulting separate video and audio files can be merged with ffmpeg:
ffmpeg -i video.mp4 -i audio.mp4 -acodec copy -vcodec copy video-and-audio.mp4
or with mp4box:
mp4box -add audio.mp4#audio video.mp4 -out video-and-audio.mp4
Tried Video DownloadHelper Chrome extension too, but it didn't work for me.