Updating GeoLite2 CSV files

1.5k Views Asked by At

Since 1.1.2020 one need to register with MaxMind to get access to the GeoLight2 databases.

I have just sucessfully installed the geoipupdate procedure and can update the GeoLite2 databases.

But I would need the CSV-versions - as those are the used by most of the tools I use.

I have tried to enter the ID's given in my account for the CSV-files, but this resulted in the following error message:

error retrieving updates: error retrieving filename: unexpected HTTP status code: 404 Not Found: Database edition not found

My question:

What is the simplest way to get the CSV-files automatically downloaded?

3

There are 3 best solutions below

0
Kurt Ludikovsky On BEST ANSWER

CSV-files are not supported!

As documented here.

3
Jinyuan Feng On

date=20200107 works. I guess they update every week\7 days

6
zvi On

You can add a crontab every week to download the last update.

See here instructions for direct download:

  1. Take the URL from Maxmind's site.

  2. Replace /geoip_download_by_token with /geoip_download

  3. Replace token=XXXX with license_key=YOUR_LICENSE_KEY. You will need to replace the YOUR_LICENSE_KEY placeholder with an active license key associated with your MaxMind account.

https://dev.maxmind.com/geoip/geoipupdate/#Direct_Downloads