Files
spider/Readme.md
2026-03-26 01:03:29 +00:00

35 lines
468 B
Markdown

# 所需环境
python=3.10
ffmpeg
# 所需数据库
```bash
mongo:可以自建也可以使用
```
[免费的云](https://cloud.mongodb.com)
# 使用
## 先安装依赖
```bash
pip install -r requerment.txt
```
## 配置数据库的地址
```bash
MONGO_URI = "mongodb://192.168.28.9:27017/"
```
## 检查ffmpeg是否下载
```
ffmpeg --version
# 未下载需要下载 brew install ffmpeg
```
## 将数据写入到urls.txt中
一行一个链接
## 启动脚本