Skip to content

Commit

Permalink
docs: 将python3命令修改为python
Browse files Browse the repository at this point in the history
  • Loading branch information
NanmiCoder committed Mar 12, 2024
1 parent 9e2d139 commit b48e4d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
cd MediaCrawler

# 创建虚拟环境
python3 -m venv venv
python -m venv venv

# macos & linux 激活虚拟环境
source venv/bin/activate
Expand All @@ -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
```


Expand Down

0 comments on commit b48e4d2

Please sign in to comment.