Skip to content

Commit

Permalink
update urlwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Jan 15, 2024
1 parent 0c8e1e7 commit e477761
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions data/urls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e477761

Please sign in to comment.