>>/38669/
you can use yt-dlp but you get a shit bitrate, if you want to get source quality it's a bit more complicated than that. There is the tikwm api or you can dig for tiktok's own endpoints that require you to send certain parameters to work.