1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/urlwatch
Marc Urben 4be6e1439f
Fixing missing dependency for pushover
Python dependency chump is required for pushover to work.
2019-09-29 11:46:06 +02:00
..
data update urlwatch 2019-05-09 17:18:05 +08:00
docker-compose.yml update urlwatch 2019-05-02 19:52:10 +08:00
Dockerfile Fixing missing dependency for pushover 2019-09-29 11:46:06 +02:00
README.md update urlwatch 2019-05-02 20:22:32 +08:00

urlwatch

urlwatch is a tool for monitoring webpages for updates.

docker-compose.yml

urlwatch:
  image: vimagick/urlwatch
  volumes:
    - ./data:/root/.urlwatch
  restart: unless-stopped

urls.yaml

---

url: "https://github.com/thp/urlwatch/releases/latest"
filter:
- xpath: '(//div[contains(@class,"release-timeline-tags")]//h4)[1]/a'
- html2text: re

---

url: "https://github.com/shadowsocks/shadowsocks-libev/releases/latest"
filter:
- css: 'div.f1>a'
- html2text: re

...

up and running

$ docker-compose up -d
$ docker-compose exec urlwatch sh
>>> urlwatch --test-slack
Successfully sent message to Slack
>>> urlwatch --list
1: https://github.com/thp/urlwatch/releases/latest
2: https://github.com/shadowsocks/shadowsocks-libev/releases/latest
>>> urlwatch --test-filter 2
v3.2.5
>>> exit