404 on GeoIP Download
Closed this issue · 4 comments
Seems like maybe they've changed the URL around?
Fetching https://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip Retrieving GeoIPCountryCSV.zip ...{path redacted}\node_modules\geoip-country\scripts\updatedb.js:131 console.log('ERROR'.red + ': HTTP Request Failed [%d %s]', status, https.STATUS_CODES[status]);
@makenai Thanks for reporting!
As you noticed, they would change the URL to https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
The zip file looks change from the previous one. I will check it and fix this library.
I fix updatedb.js by referencing original repository https://github.com/bluesmoon/node-geoip :)
And I have updated the npm to v3.2.0.
Thank you, again!
@sapics Thank you! I noticed later that the repo you've forked from switched to that URL, but I wasn't sure of the particulars of the file format and was a little discouraged by the warning on the download page that it was only for geoip2 clients. Sorry, I didn't put together a PR or post more info, I was pretty disorganized yesterday. Thanks for the really fast fix!