- Download each post with one yt-dlp run and take the saved file paths
from yt-dlp's own output instead of parsing logs or guessing by mtime
- Let yt-dlp build and sanitize filenames (same naming as before) and
read its output as UTF-8 so non-ASCII uploader names work on Windows
- Rewrite /photo/ URLs to /video/, strip query strings, accept
vm./vt.tiktok.com short links, and require a real tiktok.com host
- Stop duplicating entries in failed.txt and remove URLs from it once
they download successfully
- Raise DownloadError with yt-dlp's short error line; add retries and
timeouts
- CLI: multiple URLs/files, comments in input files, --delay, --force,
-v, non-zero exit code on failures; settings via environment/.env