Commit Graph
6 Commits
Author SHA1 Message Date
X4Lo 1c17487ce4 Rework downloader: single yt-dlp call, reliable file paths, better CLI
- 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
2026-11-15 22:37:58 +00:00
X4Lo 7c71ed6df8 Add duplicate detection and failed-download tracking
Skip already-downloaded TikTok IDs across runs
Log failed URLs to ./failed.txt for later retry
2026-06-29 01:56:23 +01:00
X4Lo d7da49c922 Add support for multi link download 2025-05-12 02:58:48 +01:00
X4Lo 1cd6c34e89 separated the downloader server from the bot logic + added requests logging 2025-03-09 05:11:44 +00:00
X4Lo d3b391e529 add support for multilink download and rate limiting 2025-03-09 04:49:22 +00:00
X4Lo bda6bb84d0 Version 1 working 2025-03-09 04:35:44 +00:00