用ffmpeg吧,下载->(解密)->合并一个命令搞定
https://www.52pojie.cn/thread-588042-1-1.html
ffmpeg -allowed_extensions ALL -i filename.m3u8 -c copy -bsf:a aac_adtstoasc filename.mp4