- Sign into https://tiktok.com and go to your profile
- Click favorites or likes
- scroll down till all your videos load
- paste the script in console and run it
- Script will download the file containing newline-delimited links
- download via yt-dlp like so:
yt-dlp -a faves_03.30.24.txt --download-archive done.txt --min-sleep-interval 1 --max-sleep-interval 2 --restrict-filenames --trim-filenames 160 --write-info-json
Second pass for the videos with unsupported characters in names:
yt-dlp -a faves_03.30.24.txt --download-archive done.txt --min-sleep-interval 1 --max-sleep-interval 2 --restrict-filenames --trim-filenames 160 --write-info-json -o "%(uploader_id)s %(id)s.%(ext)s"