yt-dlp --referer "https://the-website.com/video-page" "https://cdn.site.com/hls/.../playlist.m3u8"
If digging through code isn't your style, browser extensions can automate the process. However, because KVS Player v6 frequently updates its obfuscation methods, extensions can sometimes fail. download videos from kvs player v6
Click on the .m3u8 or .mp4 file name in the list. A side panel will open. Look for the . Copy this entire URL. yt-dlp --referer "https://the-website