Try our Chrome extension

Chrome store icon Chrome Webstore

Easily add the current web-page from your browser directly into your changedetection.io tool, more great features coming soon!

Changedetection.io needs your support!

You can help us by supporting changedetection.io on these platforms;

The more popular changedetection.io is, the more time we can dedicate to adding amazing features!

Many thanks :)

changedetection.io team

These notifications apply to all web page watches, or you can configure them per group or per watch separately.

提示: 使用 AppRise通知URL,向几乎任何服务发送通知! 请阅读通知服务 Wiki 以了解重要配置说明.

显示高级帮助和提示
  • discord:// (或 https://discord.com/api/webhooks...)) 最多仅支持 2,000 个字符 通知文本,包括标题。
  • tgram:// 机器人无法向其他机器人发送消息,因此应指定非机器人用户的聊天 ID。
  • tgram:// 仅支持非常有限的 HTML,发送额外标签可能失败, 在此阅读更多 (或使用纯文本/Markdown 格式)
  • gets://, posts://, puts://, deletes:// 用于直接 API 调用(或省略 "s" 用于非 SSL,例如 get://) 更多帮助
  • 接受下方列出的 {{token}} 占位符
Customise notifications
所有通知的标题
所有通知的正文 — 您可以使用 Jinja2 可在通知标题、正文和 URL 中使用模板,并使用下方的令牌/占位符。
显示令牌/占位符
令牌 描述
{{base_url}} 你正在运行的 changedetection.io 实例的 URL。
{{watch_url}} 被监控的 URL。
{{watch_uuid}} 监视器的UUID。
{{watch_title}} 监控项的页面标题,未设置时使用 <title>,否则回退为 URL
{{watch_tag}} 监视器组/标签
{{preview_url}} changedetection.io 生成的预览页面 URL。
{{change_datetime}} Date/time of the change, accepts format=, change_datetime(format='%A'), default is '%Y-%m-%d %H:%M:%S %Z'
{{diff_url}} 该监控项的差异输出 URL。
{{diff}} 差异输出 - 仅包含更改、新增与删除
All diff variants accept lines=, context=, word_diff=, ignore_junk= args, e.g. {{diff(lines=10)}}, {{diff_added(lines=5, context=2)}}
{{diff_clean}} 差异输出 - 仅包含更改、新增与删除 — 不含(added)前缀或颜色
{{diff_added}} 差异输出 - 仅包含更改与新增
{{diff_added_clean}} 差异输出 - 仅包含更改与新增 — 不含(added)前缀或颜色
{{diff_removed}} 差异输出 - 仅包含更改与删除
{{diff_removed_clean}} 差异输出 - 仅包含更改与删除 — 不含(added)前缀或颜色
{{diff_full}} 差异输出 - 完整差异内容
{{diff_full_clean}} 差异输出 - 完整差异内容 — 不含(added)前缀或颜色
{{diff_patch}} 差异输出 - 统一格式补丁
{{diff_changed_from}} Only the changed words/values from the previous version — e.g. the old price. Best when a single value changes per line; multiple changed fragments are joined by newline.
{{diff_changed_to}} Only the changed words/values from the new version — e.g. the new price. Best when a single value changes per line; multiple changed fragments are joined by newline.
{{current_snapshot}} 当前快照的文本内容值,与 JSON 或 CSS 过滤器结合使用时很有用
{{triggered_text}} 由过滤器触发的文本

警告:以下内容 {{diff}}, {{diff_removed}}, 和 {{diff_added}} 取决于差异算法对变更的判断。
例如,在某些情况下,新增或删除可能被视为变更。 更多信息
  • 对于 JSON 负载,使用 |tojson 无需引号以自动转义,例如 - { "name": {{ watch_title|tojson }} }
  • URL 编码使用 |urlencode, 例如 - gets://hook-website.com/test.php?title={{ watch_title|urlencode }}
  • 正则替换使用 |regex_replace, 例如 - {{ "hello world 123" | regex_replace('[0-9]+', 'no-more-numbers') }}
  • 关于 Jinja2 内置过滤器的完整参考,请见 https://jinja.palletsprojects.com/en/3.1.x/templates/#builtin-filters

所有通知的格式
用于通知链接中的 {{ base_url }} 通知链接中的令牌。
默认值为系统环境变量 'BASE_URL' - 在此阅读更多.