Ask HN: Help extract address lookup call from Spectrum's website?
Inconveniently, it doesn't fill in the form to save customers' some unnecessary typing. I would like to turn this into a more general lookup service, making a few requests in a command-line python program instead of opening a browser, but I'm having trouble figuring out what sequence of requests, headers, and post data is needed to get it to work in isolation. Nothing malicious here, it would just help to know when remote employees have moved and forgotten to update HR.
It seems it first does a basic GeoIP request to (https://www.spectrum.com/bin/spectrum/residential/akamaiheaderloader), then uses those values (like approximate city, zip code, etc.) as arguments in the request to (https://www.spectrum.com/bin/spectrum/tnt.js?userProfile=...) which returns everything from the date the service was started, zip+4, apartment, whether you subscribe to voice or mobile service, business or residential service, and it appears it even hints at billing. But it balks at curl requests so it seems to be checking for some very specific order of requests. Anyone interested in figuring it out?
0 comments
[ 2.0 ms ] story [ 9.6 ms ] threadNo comments yet.