Re: [ANN] locus: Geolocation and ASN lookup of IP addresses
Max Lapshin <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAMxVRxCfRGG3s+N-Eep8EeXGDfO7hdtN3pB6xvOap7o9CUyNCg@mail.gmail.com> |
This is a well known problem with such libraries. Without proper updating data it is not 100% useable as it can be, but library that goes itself somewhere into the internet is not very easy to integrate. Especially when we do not have standard http client in erlang (and in elixir). On Mon, Aug 30, 2021 at 6:24 PM Guilherme Andrade <[email protected]> wrote: > > Hello Max, > > Yes it does - although now you have a choice, as there's a new API[*] for unpacking the database from a binary and using the result as see fit, which allows for new use cases. > > [*]: https://hexdocs.pm/locus/2.0.0/locus_mmdb.html#unpack_database-1 > > On Mon, 30 Aug 2021 at 06:15, Max Lapshin <[email protected]> wrote: >> >> Does it still tries to download database itself?