Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this library include geoip2 maxmind db, or is it intended to be only for geoip (legacy)? #219

Open
LucaBonini opened this issue Jun 7, 2021 · 4 comments

Comments

@LucaBonini
Copy link

Since geoip will be terminated in May 2022, i'm wondering if this library will handle the geoip2

@ar2rsawseen
Copy link
Collaborator

ar2rsawseen commented Jun 7, 2021

Hello
it actually uses the free database GeoLite2
is GeoIP2 different from it in format?

https://github.com/geoip-lite/node-geoip/blob/master/scripts/updatedb.js#L40

@LucaBonini
Copy link
Author

You right. I haven't checked the source. Actually it shouldn't be different except that geoip2 is more accurate. (this is what the customer care of geoip told me)

@ar2rsawseen
Copy link
Collaborator

Then yeah, it should be supported already then, if you have it purchased, you can try to change the link in the script and give it a go :)

@face
Copy link

face commented May 1, 2024

The only difference is the filenames, everything else works the same. Here is a pull request to add a seris option to support for updatedb.js to handle the premium GeoIP2 filenames: #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants