1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-21 13:20:11 +00:00

update ADSBX Anywhere map and stats URL scraping

This commit is contained in:
kx1t 2024-11-14 12:05:03 -05:00
parent 245b69e875
commit c76fd5a234

View file

@ -70,8 +70,8 @@ fi
# Let adsbexchange-json-status start up, and then print the Anywhere Map and Anywhere Stats URLs to the container logs: # Let adsbexchange-json-status start up, and then print the Anywhere Map and Anywhere Stats URLs to the container logs:
{ sleep 15 { sleep 15
AnywhereMap="$(curl -sSL https://www.adsbexchange.com/myip/ | grep "ADSBx Anywhere Map</a>" | sed -n 's|.*\(https.*\)\" class.*|\1|p')" AnywhereMap="$(curl -sSL https://www.adsbexchange.com/myip/ | grep "https://globe.adsbexchange.com/?feed=" | sed -n 's|.*\(https.*\)\"|\1|p')"
AnywhereStats="$(curl -sSL https://www.adsbexchange.com/myip/ | grep "ADSBx Anywhere Stats</a>" | sed -n 's|.*\(https.*\)\" class.*|\1|p')" AnywhereStats="$(curl -sSL https://www.adsbexchange.com/myip/ | grep "https://www.adsbexchange.com/api/feeders/?feed=" | sed -n 's|.*\(https.*\)\"|\1|p')"
"${s6wrap[@]}" echo "Your AdsbExchange Anywhere Map URL is $AnywhereMap" "${s6wrap[@]}" echo "Your AdsbExchange Anywhere Map URL is $AnywhereMap"
"${s6wrap[@]}" echo "Your AdsbExchange Anywhere Stats URL is $AnywhereStats" "${s6wrap[@]}" echo "Your AdsbExchange Anywhere Stats URL is $AnywhereStats"
} & } &