xunhuang / covid-19

MIT License
17 stars 16 forks source link

When not US, try use Country given by IP providers #125

Open tumbleshack opened 4 years ago

tumbleshack commented 4 years ago

Currently, lat/long are taken from the IP providers, which are then used to fetch the political location from Census (first) then Google (if failure).

The IP providers do provide a location free, so we could try to use this first and avoid the Google political lookup, saving money.

The issue first raised in #122