--- chewbacca/YodaProfiler/docs/retrieve_TLE.sh 2013/08/22 09:03:27 1.6 +++ chewbacca/YodaProfiler/docs/retrieve_TLE.sh 2015/06/03 08:10:45 1.8 @@ -80,7 +80,7 @@ echo "" echo " Setting cookies to connect to spacetrack " -wget --post-data='identity=pam2006&password=Resurs05' --cookies=on --keep-session-cookies --save-cookies=.cookies.txt 'https://www.space-track.org/ajaxauth/login' -o/dev/null +wget --post-data='identity=pam2006&password=Resurs_150606!!' --cookies=on --keep-session-cookies --save-cookies=.cookies.txt 'https://www.space-track.org/ajaxauth/login' -o/dev/null #wget -o /dev/null -O /dev/null --no-check-certificate --save-cookies .cookies.txt \ #"https://www.space-track.org/perl/login.pl?_submitted=1&username=$USER&password=$PASS" echo " Done!" @@ -117,7 +117,9 @@ exit 1 fi -cp .tleretrieved.txt $OUTFILE +#cp .tleretrieved.txt $OUTFILE + +cat .tleretrieved.txt | sed 's/0 RESURS DK-1/RESURS DK-1/g' | sed -e 's/\r//g' > $OUTFILE echo " File saved as $OUTFILE" echo ""