blob: d6eecc0eb508d4943de80f16da9fa2c4febca0b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/ksh
flight_status() {
curl --silent --stderr - "https://mobile.flightview.com/TrackByRoute.aspx?view=detail&al=$1&fn=$2&dpdat=$(date +%Y%m%d)" |
html2text | grep -A19 "Status" ;
};
flight_status $1 $2
|