From 523c5f380ea4c1c017875178dcdfc14a8543a6ae Mon Sep 17 00:00:00 2001 From: Relakkes Date: Sun, 26 Nov 2023 15:38:38 +0800 Subject: [PATCH] doc: add command usage --- README.md | 4 ++++ requirements.txt | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4173c4f..20a4ede 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ # 从配置文件中读取指定的帖子ID列表获取指定帖子的信息与评论信息 python main.py --platform xhs --lt qrcode --type detail + + # 其他平台爬虫使用示例, 执行下面的命令查看 + python3 main.py --help + ``` 5. 打开对应APP扫二维码登录 diff --git a/requirements.txt b/requirements.txt index a6df28d..0422fb5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,8 +5,8 @@ tenacity==8.2.2 tornado==6.3.2 PyExecJS==1.5.1 opencv-python==4.7.0.72 -tortoise-orm[asyncmy]==0.19.3 +tortoise-orm +aiomysql==0.2.0 aerich==0.7.2 numpy~=1.24.4 -redis~=4.6.0 -Pydantic==1.7 \ No newline at end of file +redis~=4.6.0 \ No newline at end of file