更新 README
This commit is contained in:
parent
dd77a24b48
commit
65de166821
14
README.md
14
README.md
@ -2,6 +2,20 @@
|
|||||||
|
|
||||||
## 使用方式
|
## 使用方式
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# WEB 模式,只启动 web 控制台,不启动任何引擎
|
||||||
|
python main.py --web
|
||||||
|
# 等价于
|
||||||
|
python main.py --web-only
|
||||||
|
|
||||||
|
# 启动 web 的时候启动引擎
|
||||||
|
python main.py --web --crawl --evidence --report wap,pc,site
|
||||||
|
|
||||||
|
# 这几个选项可以任意组合,例如只启动采集引擎和证据收集引擎
|
||||||
|
python main.py --web --crawl --evidence
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# 采集模式,采集指定关键字的URL列表,直接存入数据库
|
# 采集模式,采集指定关键字的URL列表,直接存入数据库
|
||||||
python main.py --crawl www.yunzhiju.net
|
python main.py --crawl www.yunzhiju.net
|
||||||
|
|||||||
@ -76,4 +76,4 @@ class Reporter:
|
|||||||
logger.error(f"参数错误: {mode}")
|
logger.error(f"参数错误: {mode}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.ev.wait(60)
|
self.ev.wait(10)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user