I have a script for this that I attached to an easy to use webUI
The idea is to fetch the m3u8 stream segments then losslessly convert them to MP4
You can emulate an environment to get a session cookie for yasyadong04.tv
Can't push the script to GitHub atm, but with these instructions you should be able to replicate the script with AI