From e477761de4a3b5ce45ff103a901048eedd1e0644 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 15 Jan 2024 13:43:11 +0800 Subject: [PATCH] update urlwatch --- README.md | 6 +++--- data/urls.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a283f89..ffe0bae 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ filter: name: easypi url: https://www.nslookup.io/api/v1/records -user_visible_url: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#google +user_visible_url: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#authoritative method: POST headers: Content-Type: application/json -data: '{"domain":"easypi.duckdns.org","dnsServer":"google"}' +data: '{"domain":"easypi.duckdns.org","dnsServer":"authoritative"}' filter: - jq: query: '.records.a.response.answer[0].ipInfo.query' @@ -72,7 +72,7 @@ Successfully sent message to Slack >>> urlwatch --list 1: https://github.com/thp/urlwatch/releases/latest 2: https://github.com/shadowsocks/shadowsocks-libev/releases/latest -3: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#google +3: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#authoritative >>> urlwatch --test-filter 2 v3.3.5 >>> exit diff --git a/data/urls.yaml b/data/urls.yaml index acc34d0..5b0da2e 100644 --- a/data/urls.yaml +++ b/data/urls.yaml @@ -21,11 +21,11 @@ filter: name: easypi url: https://www.nslookup.io/api/v1/records -user_visible_url: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#google +user_visible_url: https://www.nslookup.io/domains/easypi.duckdns.org/dns-records/#authoritative method: POST headers: Content-Type: application/json -data: '{"domain":"easypi.duckdns.org","dnsServer":"google"}' +data: '{"domain":"easypi.duckdns.org","dnsServer":"authoritative"}' filter: - jq: query: '.records.a.response.answer[0].ipInfo.query'