Files
ipranges/pingdom/downloader.sh
Joris Dedieu 2b4c3606d8 Add pingdom and statuscake ips and downloaders (#29)
* [main-] add pingdom and statuscake ips and downloaders

* Improved consistency with the original style

* Typo in README

---------

Co-authored-by: Lord Alfred <2259979+lord-alfred@users.noreply.github.com>
2026-03-16 22:35:21 +03:00

13 lines
326 B
Bash

#!/bin/bash
set -euo pipefail
set -x
# get ranges from pingdom
curl -s https://my.pingdom.com/probes/ipv4 > /tmp/pingdom-ipv4.txt
curl -s https://my.pingdom.com/probes/ipv6 > /tmp/pingdom-ipv6.txt
# sort & uniq
sort -V /tmp/pingdom-ipv4.txt | uniq > pingdom/ipv4.txt
sort -V /tmp/pingdom-ipv6.txt | uniq > pingdom/ipv6.txt