Checking Apple Repair Status

My iMac is in the shop. Again. This time it's getting a replacement hard disk. It's been almost 6 days since I dropped it off. I got tired of refreshing the Apple Repair Status page, so I wrote a script to do it:

RDU=https://selfsolve.apple.com/repairstatus/GetRepairDetails.do RID=R0000000 SN=Q0000000000 curl -s -d "repair_id=$RID&serial_number=$SN" $RDU | \ perl -0777 -ne 'm/Status:<\/dt>\s+<dd>([^<]+)/ && print $1' | \ say -v Alex

I saved that as a shell script and have run it every minute:

watch -n 60 check-repair-status.sh

I get an audible source of frustration automatically. Yay.