MarginaliaSearch/code/libraries/geo-ip
Viktor Lofgren 0889b6d247 (warc) Clean up parquet conversion
This commit further cleans up the warc->parquet conversion. It fixes issues with redirect handling in WarcRecorder, adds support information about redirects and errors due to probe failure.

It also refactors the fetch result, body extraction and content type abstractions.
2023-12-14 20:39:40 +01:00
..
src/main/java/nu/marginalia/geoip (warc) Clean up parquet conversion 2023-12-14 20:39:40 +01:00
build.gradle (*) Refactor GeoIP-related code 2023-12-10 17:30:43 +01:00
readme.md (*) Refactor GeoIP-related code 2023-12-10 17:30:43 +01:00

This micro library handles the GeoIP lookups, mappings from IP addresses to country codes.

It uses the free ip2location lite database, which is available from https://lite.ip2location.com/database/ip-country under a CC-BY-SA 4.0 license.