If you are comfortable using the command line, FFmpeg is the most reliable tool. It is a multimedia framework that can download, convert, and merge streaming video files without quality loss.
ffmpeg -i "URL" output.mp4
Warning: only download videos when you have the right to do so (your own content or content you’re explicitly permitted to download). Respect copyright and terms of service. how to download video from theoplayer link