You inspired my nerd side and CHL checking habit to collide. With the POST elements you have, I ran them through curl and it worked. Get an md5 checksum from it and then compare. The end result is an email if your status has changed. I put this on a cron job for 1 a day. Seems to be working so far.
Cron command:
Code: Select all
curl -s -d "XXTask=99&UserType=1&DateOfBirth=XXXXXXXX&DL_IDNUMBER=DL&DLNumber=XXXXXXXX&IDNumber=&SSNumber=XXXXXXXXX&Month=XX&Day=XX&Year=XXXX&PinNumber=XXXX" https://www.texasonline.state.tx.us/NASApp/txdps/TxdpsChlNewAppManager | md5 | tee new - | diff -q - old || echo 'I have detected a change in your CHL application status.' | mail -s 'CHL Status Update!' your@email.com && mv new old
Code: Select all
curl -s -d "XXTask=99&UserType=1&DateOfBirth=XXXXXXXX&DL_IDNUMBER=DL&DLNumber=XXXXXXXX&IDNumber=&SSNumber=XXXXXXXXX&Month=XX&Day=XX&Year=XXXX&PinNumber=XXXX" https://www.texasonline.state.tx.us/NASApp/txdps/TxdpsChlNewAppManager | md5 > old