Profile downloader (profile-downloader/), now built on gallery-dl: - Local web UI (app.py): load a profile by username, URL, post link or secUid; stories shown above posts; select all/none/not downloaded, shift-click ranges, filters; live download progress with Stop - CLI (main.py) replaces the hard-coded script: --cookies, --refresh, --retry-failed, --limit, --no-stories - Photo posts save their slide images and music; cover thumbnails are no longer saved; filenames include seconds and the post ID so posts from the same minute cannot collide; partial files are cleaned up - Backoff and retry when TikTok blocks requests, stopping after three blocked posts in a row; per-profile failed.txt - Profile IDs are cached and looked up from a post page when the profile page is blocked; photo posts download straight from the post-list links - README for the profile downloader downloader.py: - Optional --cookies FILE (or TIKDOWN_COOKIES) - Failed-URL helpers accept a file path so the profile tool reuses them Ignore cookies.txt and __pycache__ in every folder.
17 lines
186 B
Plaintext
17 lines
186 B
Plaintext
downloads
|
|
youtube-dl*
|
|
yt-dlp*
|
|
authorized_users.txt
|
|
.env
|
|
__pycache__/
|
|
metadata.json
|
|
|
|
*.log
|
|
in.txt
|
|
in/*
|
|
downloaded_ids.txt
|
|
failed.txt
|
|
|
|
# Browser session cookies (never commit)
|
|
cookies.txt
|