File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,37 @@ uv run main.py --platform xhs --lt qrcode --type detail
146146uv run main.py --help
147147```
148148
149+ ## WebUI支持
150+
151+ <details >
152+ <summary >🖥️ <strong >WebUI 可视化操作界面</strong ></summary >
153+
154+ MediaCrawler 提供了基于 Web 的可视化操作界面,无需命令行也能轻松使用爬虫功能。
155+
156+ #### 启动 WebUI 服务
157+
158+ ``` shell
159+ # 启动 API 服务器(默认端口 8080)
160+ uv run uvicorn api.main:app --port 8080 --reload
161+
162+ # 或者使用模块方式启动
163+ uv run python -m api.main
164+ ```
165+
166+ 启动成功后,访问 ` http://localhost:8080 ` 即可打开 WebUI 界面。
167+
168+ #### WebUI 功能特性
169+
170+ - 可视化配置爬虫参数(平台、登录方式、爬取类型等)
171+ - 实时查看爬虫运行状态和日志
172+ - 数据预览和导出
173+
174+ #### 界面预览
175+
176+ <img src =" docs/static/images/img_8.png " alt =" WebUI 界面预览 " >
177+
178+ </details >
179+
149180<details >
150181<summary >🔗 <strong >使用 Python 原生 venv 管理环境(不推荐)</strong ></summary >
151182
You can’t perform that action at this time.
0 commit comments