changedetection.io 可以监测指定网页变动,支持 GET/POST 等 HTTP 请求,也支持使用 Selenium/Playwright 的自动化浏览器监测包含动态加载的页面
监测到网页变动后,changedetection.io 可以使用指定方式发送通知消息——因为使用了 apprise 作为通知发送库,支持所有 apprise 支持的通知方式
https://github.com/caronc/apprise#popular-notification-services
安装方式也很简单,官方提供了 docker-compose.yml 文件,docker-compose 一把梭即可
以下为使用 Playwright Chrome 的配置文件,仅适用于本地网络环境
version: '2' services: changedetection: image: ghcr.io/dgtlmoon/changedetection.io container_name: changedetection hostname: changedetection restart: unless-stopped environment: - USE_X_SETTINGS=1 - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/ ports: - 5000:5000 volumes: - [数据存储路径]:/datastore playwright-chrome: image: browserless/chrome hostname: playwright-chrome restart: unless-stopped volumes: changedetection-data:
暂时没有找到官方对支持 firefox 和 webkit 的声明
虽然支持动态加载页面,但是 changedetection.io 无法通过 Cloudflare 的反爬墙,作用比较有限