I am working on some shipment data analysis for my company. The data on this is lacking, so I am looking to batch download the raw HTML from websites like this (https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=92748903029148543477719247) to see the detailed tracking information.
This is the information I am looking for:
In the past, I have simply run the URL through the download tool and then parsed the results. I am coming up short there, as the data I am seeking does not show up in the response.
This is really weird, because when I "Save As" in Google Chrome, the document saved contains all information I could need.
I then explored using Python to grab this data, but I came up short (I do not know Python well). I followed this tutorial: https://community.alteryx.com/t5/Engine-Works/Web-Scraping-will-it-Alteryx/ba-p/429475
Any help would be appreciated! Goal is to:
I'd suggest using the USPS APIs for this - they're free.