1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

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

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

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

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

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