安装 TikTok Scraper 需要以下步骤:
- pre-conditions:必须安装 Node.js(推荐 LTS 版本),通过终端输入
node -v
cap (a poem)npm -v
Verify Installation - 项目获取:克隆 GitHub 仓库
git clone https://github.com/TikTok-Scraper/TikTok-Scraper-Video-Downloader-Reporter.git
- Dependent Installation:进入项目目录后运行
npm install
安装所需依赖包 - 会话配置:部分功能需要 TikTok 的
sid_tt
会话 ID(通过浏览器开发者工具获取)
完成安装后,运行node index.js --help
可查看所有可用命令。首次使用建议创建配置文件或直接在命令行中指定参数,如代理设置等。
This answer comes from the articleTikTok Scraper: batch download TikTok videos with data collection toolThe