linkcheck.plugins.locationinfo
Store and retrieve country names for IPs.
Functions
Find a GeoIP database, preferring city over country lookup. |
|
|
Get translated country and optional city name. |
Classes
|
Adds the country and if possible city name of the URL host as info. |
- class linkcheck.plugins.locationinfo.LocationInfo(config)[source]
Bases:
_ConnectionPlugin
Adds the country and if possible city name of the URL host as info. Needs GeoIP or pygeoip and a local country or city lookup DB installed.
Check for geoip module.