| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
基于 .NET 10 + Vue 3 的 DDD 架构视频爬取系统,支持多智能体任务分配和自动化缓存。
VideoCrawler/ ├── src/ │ ├── VideoCrawler.Domain/ # 领域层 - 实体、值对象、接口 │ ├── VideoCrawler.Application/ # 应用层 - DTOs、服务、处理器 │ ├── VideoCrawler.Infrastructure/ # 基础设施层 - 仓储实现、外部服务 │ ├── VideoCrawler.Api/ # API 层 - 控制器、中间件 │ └── VideoCrawler.Web/ # 前端 - Vue 3 应用 ├── tests/ │ ├── VideoCrawler.Domain.Tests/ │ ├── VideoCrawler.Application.Tests/ │ ├── VideoCrawler.Infrastructure.Tests/ │ └── VideoCrawler.Api.Tests/ └── VideoCrawler.sln
Linux/macOS:
# 启动后端
./start-api.sh
# 启动前端(新终端)
./start-web.shWindows:
# 启动后端
start-api.bat
# 启动前端(新终端)
start-web.bat1. 后端启动
cd src/VideoCrawler.Api
dotnet restore
dotnet runAPI 将运行在 http://localhost:5000
2. 前端启动
cd src/VideoCrawler.Web
npm install
npm run dev前端将运行在 http://localhost:5173
3. 运行测试
cd tests/VideoCrawler.Test
dotnet run启动后端后访问:http://localhost:5000/swagger
{
"ConnectionStrings": {
"DefaultConnection": "Data Source=vodcrawler.db"
},
"Cache": {
"Path": "./cache",
"DefaultExpiration": "30",
"MaxCacheSizeBytes": "10737418240"
}
}GET /api/debug/analyze?url=https://b.huaduzy.cc/vodshow/tangxinVlog-----------.htmlGET /api/debug/test-list?url=https://b.huaduzy.cc/vodshow/tangxinVlog-----------.html&maxCount=10GET /api/debug/test-detail?url=https://b.huaduzy.cc/voddetail/123.html欢迎提交 Issue 和 Pull Request!
MIT License
| Back | FazBrowse Home | New Git URL |