From d9014677879b85f3416fd238ee00ad90fc9ce2a1 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 25 Oct 2021 18:18:34 +0800 Subject: [PATCH] update --- obs-web-arm/README.md | 2 +- urlwatch/data/urls.yaml | 9 ++++++--- urlwatch/data/urlwatch.yaml | 5 +++++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/obs-web-arm/README.md b/obs-web-arm/README.md index c01a312..ac0feb1 100644 --- a/obs-web-arm/README.md +++ b/obs-web-arm/README.md @@ -5,7 +5,7 @@ obs-web ```bash $ docker-compose up -d -$ curl http://127.0.0.1:5000 +$ curl http://127.0.0.1:5000#localhost:4444 ``` [1]: https://github.com/Niek/obs-web diff --git a/urlwatch/data/urls.yaml b/urlwatch/data/urls.yaml index 56699a4..758ae8e 100644 --- a/urlwatch/data/urls.yaml +++ b/urlwatch/data/urls.yaml @@ -1,15 +1,18 @@ --- -url: "https://github.com/thp/urlwatch/releases/latest" +name: urlwatch +url: "https://github.com/thp/urlwatch/tags" filter: -- xpath: '(//div[contains(@class,"release-timeline-tags")]//h4)[1]/a' +- xpath: '(//h4[@data-test-selector="tag-title"]/a)[1]' - html2text: re +- strip: --- +name: shadowsocks-libev url: "https://github.com/shadowsocks/shadowsocks-libev/releases/latest" filter: -- css: 'div.f1>a' +- css: "div.flex-1>h1" - html2text: re ... diff --git a/urlwatch/data/urlwatch.yaml b/urlwatch/data/urlwatch.yaml index cab308f..70e79dd 100644 --- a/urlwatch/data/urlwatch.yaml +++ b/urlwatch/data/urlwatch.yaml @@ -1,3 +1,8 @@ +job_defaults: + url: + ignore_connection_errors: true + ignore_http_error_codes: 4xx, 5xx + report: text: footer: false