Hacker News new | ask | show | jobs
by franky47 2062 days ago
FWIW, CloudFlare can inject a cf_ipcountry header that does that. User-agent parsing is unfortunately more complex, with lots of false readings (not counting bots & crawlers).