From b48e4d297dc82d930006fc5ad7366121f9535c33 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Tue, 12 Mar 2024 23:09:45 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=B0=86python3=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BApython?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a270982..29c9ee5 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ cd MediaCrawler # 创建虚拟环境 - python3 -m venv venv + python -m venv venv # macos & linux 激活虚拟环境 source venv/bin/activate @@ -61,15 +61,15 @@ ```shell # 从配置文件中读取关键词搜索相关的帖子并爬去帖子信息与评论 - python3 main.py --platform xhs --lt qrcode --type search + python main.py --platform xhs --lt qrcode --type search # 从配置文件中读取指定的帖子ID列表获取指定帖子的信息与评论信息 - python3 main.py --platform xhs --lt qrcode --type detail + python main.py --platform xhs --lt qrcode --type detail # 打开对应APP扫二维码登录 # 其他平台爬虫使用示例, 执行下面的命令查看 - python3 main.py --help + python main.py --help ```