tiktok_download
Installation
SKILL.md
TikHub Download Independent
What this skill gives you
Two small artifacts (all copy-pasteable from this file):
-
tikhub_independent.py(single file,httpxonly)- Single video or batch (parallel, max 10 workers): download MP4 + print metrics
Raw API JSON: by default every successful API response is written to disk as a full JSON file (same shape as e.g.raw_api_response.jsonin this repo — top-levelcode,request_id,params,data.aweme_detail, etc.). Use--no-save-rawto skip.
-
postprocess_tikhub_raw.py(stdlib only:json,csv,argparse,glob)- Reads one raw file or a directory of raw JSON files
- Writes into the current working directory (or
--out-dir):tikhub_videos_summary.csvtikhub_videos_summary.json(list of simplified records; one object per video)
Structured-data reference (field meanings, nesting): see project doc
TikHub_API_数据格式说明.md (same repo, path from project root). Example raw payload: raw_api_response.json.