Advertisement
metalx1000

Bonita Appraisers GPS Location of Property

Nov 12th, 2023
1,368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #get GPS of Bonita property by FolioID
  4.  
  5. for id in {10291320..10291330}
  6. do
  7.   info="$(wget -qO- "https://www.leepa.org/Display/DisplayParcel.aspx?FolioID=${id}&LocationDetails=True#LocationDetails")"
  8.   address="$(echo $info|grep -A 30 'divDisplayParcelOwner'|grep 'textPanel'|cut -d\> -f 2|cut -d\< -f1|tr -d "\n")"
  9.   gps="$(echo $info|grep 'maps.google.com'|cut -d\" -f4|cut -d\: -f3|tr "+" ",")"
  10.   echo "$id|$address|$gps"
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement