update urlwatch

This commit is contained in:
kev 2021-10-27 18:44:59 +08:00
parent ea05e918ea
commit 1d8da0c86d
4 changed files with 12 additions and 10 deletions

View File

@ -5,8 +5,6 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN set -xe \
&& apk add --no-cache ca-certificates \
bash \

View File

@ -12,6 +12,8 @@ services:
image: vimagick/urlwatch
volumes:
- ./data:/root/.urlwatch
environment:
- EDITOR=/usr/bin/vi
restart: unless-stopped
```
@ -21,7 +23,7 @@ services:
---
name: urlwatch
url: "https://github.com/thp/urlwatch/tags"
url: https://github.com/thp/urlwatch/tags
filter:
- xpath: '(//h4[@data-test-selector="tag-title"]/a)[1]'
- html2text: re
@ -30,10 +32,10 @@ filter:
---
name: shadowsocks-libev
url: "https://github.com/shadowsocks/shadowsocks-libev/releases/latest"
url: https://api.github.com/repos/shadowsocks/shadowsocks-libev/releases/latest
filter:
- css: "div.flex-1>h1"
- html2text: re
- shellpipe: 'jq -r .tag_name'
- strip:
...
```

View File

@ -1,7 +1,7 @@
---
name: urlwatch
url: "https://github.com/thp/urlwatch/tags"
url: https://github.com/thp/urlwatch/tags
filter:
- xpath: '(//h4[@data-test-selector="tag-title"]/a)[1]'
- html2text: re
@ -10,9 +10,9 @@ filter:
---
name: shadowsocks-libev
url: "https://github.com/shadowsocks/shadowsocks-libev/releases/latest"
url: https://api.github.com/repos/shadowsocks/shadowsocks-libev/releases/latest
filter:
- css: "div.flex-1>h1"
- html2text: re
- shellpipe: 'jq -r .tag_name'
- strip:
...

View File

@ -4,4 +4,6 @@ services:
image: vimagick/urlwatch
volumes:
- ./data:/root/.urlwatch
environment:
- EDITOR=/usr/bin/vi
restart: unless-stopped