From 65de1668214fafd75118f3fcb83cef365a84ce30 Mon Sep 17 00:00:00 2001 From: xhy Date: Fri, 4 Apr 2025 20:30:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++++++++ app/engines/report_engine.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 25734c9..53d7fb7 100644 --- a/README.md +++ b/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 # 采集模式,采集指定关键字的URL列表,直接存入数据库 python main.py --crawl www.yunzhiju.net diff --git a/app/engines/report_engine.py b/app/engines/report_engine.py index fb9ddd1..3c180d5 100644 --- a/app/engines/report_engine.py +++ b/app/engines/report_engine.py @@ -76,4 +76,4 @@ class Reporter: logger.error(f"参数错误: {mode}") continue - self.ev.wait(60) + self.ev.wait(10)