mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-10-31 20:55:35 +08:00
- ab-plugin new 与示例插件的 requires-python 改为 >=3.14,与 SDK 0.6.0 一致 - 示例插件 ntfy-notifier / webhook-on-event 改用 httpx2 - openai / anthropic / google-genai 下限改为实际需要的大版本 - 插件 MCP 工具的 input_schema 无效时计入熔断 - 复制 RSS 链接在 HTTP 部署下回退到 execCommand(useClipboard legacy) - CI 步骤名、PLAYWRIGHT_VERSION、README 徽章与 e2e 指南改为 Python 3.14 / Playwright 1.64.1
自定义 RSS 站点(示例插件)
给搜索框加一个站点,并为该站点的请求附带 Cookie。演示:
@provider(points.SEARCH_SITE):返回SearchSite@hook(points.HTTP_REQUEST):transform 钩子,返回修改后的请求副本;返回None表示不修改- 契约套件
SearchSiteContract
安装
cp -r examples/plugins/custom-rss-site config/plugins/local/
在「设置 → 插件」中开启「允许未签名插件」,启用并填写搜索地址与 Cookie。
测试
cd examples/plugins/custom-rss-site && uv run pytest