Files
aiData/DouYin/USAGE.md
HuangHai d89388ab51 'commit'
2026-01-20 14:05:19 +08:00

57 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 抖音下载器使用说明
## 🚀 快速开始
### 1. 安装依赖
```bash
pip install -r requirements.txt
```
### 2. 配置 Cookie(首次使用需要)
```bash
# 自动获取(推荐)
python cookie_extractor.py
# 或手动获取
python get_cookies_manual.py
```
### 3. 开始下载
#### V1.0 稳定版(推荐用于单个视频)
```bash
# 编辑 config.yml 配置文件
# 然后运行
python DouYinCommand.py
```
#### V2.0 增强版(推荐用于用户主页)
```bash
# 下载用户主页
python downloader.py -u "https://www.douyin.com/user/xxxxx"
# 自动获取 Cookie 并下载
python downloader.py --auto-cookie -u "https://www.douyin.com/user/xxxxx"
```
## 📋 版本对比
| 功能 | V1.0 (DouYinCommand.py) | V2.0 (downloader.py) |
|------|------------------------|---------------------|
| 单个视频下载 | ✅ 完全正常 | ⚠️ API 问题 |
| 用户主页下载 | ✅ 正常 | ✅ 完全正常 |
| Cookie 管理 | 手动配置 | 自动获取 |
| 使用复杂度 | 简单 | 中等 |
| 稳定性 | 高 | 中等 |
## 🎯 推荐使用场景
- **下载单个视频**:使用 V1.0
- **下载用户主页**:使用 V2.0
- **批量下载**:使用 V2.0
- **学习研究**:两个版本都可以
## 📞 获取帮助
- 查看详细文档:`README.md`
- 报告问题:[GitHub Issues](https://github.com/jiji262/douyin-downloader/issues)