3 ms·
"how to scrape an ip geolocation database" You know you can just run a whois query per ip you want to analyze, no point in scraping the whole ipvN space.
by TZubiri 3y ago
"how to scrape an ip geolocation database"
You know you can just run a whois query per ip you want to analyze, no point in scraping the whole ipvN space.
- incolumitas 3y agoI have to scrape the whole IP address space since I offer location information as part of my API. Also I only need to scrape as many WHOIS records as there are different networks out there. So for example for the IPv4 address space, there are much less networks as there are IPv4 addresses (2^32). Also, most RIR's provide their WHOIS databases for download. Therefore, "scraping" is not really the correct word, it's an hybrid approach, but mostly based on publicly available data from the five RIR's.
- notlukesky 3y agoWhat was the easiest and the most frustrating part?
- incolumitas 3y agoLACNIC is a fucking pain in the ass since they block after like 27 records ARIN is awesome
- djbusby 3y agoThe whois data for IP is not accurate.
- gsich 3y agowhois has no sane format.
- ggm 3y agoRDAP is run by all the RIR and is Json and has all the whois data except IRR. And it does 302 redirect to best source.