更新 Readme.md
This commit is contained in:
35
Readme.md
35
Readme.md
@@ -1,5 +1,34 @@
|
|||||||
# 所需环境
|
# 所需环境
|
||||||
python=3.10
|
python=3.10
|
||||||
# 需要安装的包
|
ffmpeg
|
||||||
pymongo
|
|
||||||
bilibili-api-python
|
|
||||||
|
# 所需数据库
|
||||||
|
|
||||||
|
```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中
|
||||||
|
|
||||||
|
一行一个链接
|
||||||
|
|
||||||
|
## 启动脚本
|
||||||
Reference in New Issue
Block a user