follow redirects when getting satellite data

master
Kenneth Barbour 2022-07-07 23:17:00 +01:00
parent 780429be3d
commit 39ed791cfb
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ outfile=${1:-'satellites.tle'}
log "Updating satellite information"
curl https://www.celestrak.com/NORAD/elements/weather.txt 2>/dev/null | \
curl -L https://www.celestrak.com/NORAD/elements/weather.txt 2>/dev/null | \
grep 'NOAA 15\|NOAA 18\|NOAA 19' --no-group-separator -A 2 > ${outfile}
if [ $? ]; then