summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-18 01:28:39 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-18 01:28:39 +0100
commit847d238ca202a84523c057fb929f690447b728ed (patch)
treefab76366a5f37ad8d619c6a445c619a448f5fd0d
parent7106166b11abc6f38309cf864e3e4de7cfa685c3 (diff)
parent7e0017ebd6d292b86d274a6378653b1d45ca435f (diff)
merge
-rwxr-xr-xrc/bin/usps9
1 files changed, 5 insertions, 4 deletions
diff --git a/rc/bin/usps b/rc/bin/usps
index 7c7cf1921..dfdd78ccf 100755
--- a/rc/bin/usps
+++ b/rc/bin/usps
@@ -9,12 +9,13 @@ if(! ~ $#* 1) {
rfork e
-hget -p 'origTrackNum='^$1 http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do |
- htmlfmt > /tmp/usps.$pid
+hget -p 'qtc_tLabels1='^$1 https://tools.usps.com/go/TrackConfirmAction |
+ uhtml | htmlfmt > /tmp/usps.$pid
sam -d /tmp/usps.$pid >[2] /dev/null <<'!'
-0,/Label/-1d
-/^Enter Label/,$d
+,/Your Label Number/-1d
+/Check on Another Item/,$d
+/id=\"error-tLabels\"/,$d
,p
!
rm /tmp/usps.$pid