Are you the author? Sign in to claim
影视资源站与采集站聚集和收集平台,自动监测 ziyuanzu.com 资源站可用性
自动监测 ziyuanzu.com 影视资源站可用性的开源工具,通过 GitHub Actions 定时运行,生成静态监控页面并通过 GitHub Pages 发布。
支持 LibreTV、maccms、LunaTV、KatelyaTV、OrionTV、MoonTVPlus 等平台。
MCP (Model Context Protocol) 服务器支持 - 让 AI 工具直接查询资源站数据!
ziyuanzhan/
├── .github/
│ └── workflows/
│ └── monitor.yml # GitHub Actions 定时工作流
├── docs/
│ └── index.html # 生成的监控页面(GitHub Pages 源)
├── data/
│ ├── latest.json # 最新监测数据
│ └── monitor_*.json # 历史数据存档
├── monitor.py # 核心监测脚本
├── mcp_server.py # MCP 服务器
├── mcp.json # MCP 配置示例
├── requirements.txt # Python 依赖
└── README.md # 项目说明
点击右上角 Fork 按钮,将本项目复制到你的 GitHub 账号下。
main,文件夹选择 /docs等待几分钟后,你的监控页面将发布在:
https://你的用户名.github.io/ziyuanzhan/
进入 Actions → Monitor ziyuanzu.com Resources → Run workflow,可以立即手动运行一次监测。
pip install -r requirements.txt
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude/claude_desktop_config.json{
"mcpServers": {
"ziyuanzhan-monitor": {
"command": "python3",
"args": [
"/path/to/ziyuanzhan/mcp_server.py"
]
}
}
}
get_all_resources - 获取所有资源站列表及状态get_online_resources - 获取在线资源站get_offline_resources - 获取离线资源站及原因get_statistics - 获取整体统计数据search_resource - 按关键词搜索资源站get_fastest_resources - 获取响应最快的资源站在 Claude 中可以这样提问:
# 克隆仓库
git clone https://github.com/aidizhi/ziyuanzhan.git
cd ziyuanzhan
# 安装依赖
pip install -r requirements.txt
# 运行监测脚本
python monitor.py
# 启动 MCP 服务器
python mcp_server.py
# 查看生成的页面
open docs/index.html
编辑 .github/workflows/monitor.yml 中的 cron 表达式:
schedule:
- cron: '0 */2 * * *' # 每2小时(默认)
- cron: '0 */6 * * *' # 每6小时
- cron: '0 0 * * *' # 每天0点
编辑 monitor.py 中的 TIMEOUT 变量:
TIMEOUT = 15 # 秒
本项目为第三方开源监测工具,与 ziyuanzu.com 官方无关。仅供学习和技术交流使用。
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows