From 0c0cf8b2e366b4d51bf6142acd1179fb36fe0c3d Mon Sep 17 00:00:00 2001 From: davidpany Date: Tue, 23 Jul 2024 09:56:21 -0400 Subject: [PATCH] Update GeoLogonalyzer.py minor fixes --- GeoLogonalyzer.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/GeoLogonalyzer.py b/GeoLogonalyzer.py index b961f4e..bd245bf 100644 --- a/GeoLogonalyzer.py +++ b/GeoLogonalyzer.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # #GeoLogonalyzer.py -#Version 1.10 +#Version 1.11 # Geofeasibility calculator and datacenter cross reference utility # customizable for various VPN log formats. # @@ -10,6 +10,7 @@ # 1.10 # - Runs in python3 - Thanks to Colby Lahaie! # - Clarifies instructions for downloading GeoLite DBs with a free account +# 1.11 - Minor updates # #Description: # GeoLogonalyzer will perform location and metadata lookups on source IP @@ -120,8 +121,6 @@ import re # Might be used for custom line parsing import argparse from datetime import datetime -#import urllib -#import urllib2 from urllib.request import urlopen import tarfile import shutil @@ -129,7 +128,6 @@ import csv import time import unicodedata -#import pkg_resources import importlib.metadata # Imports that are not likely to be installed by default: @@ -143,7 +141,7 @@ try: from geoip import open_database except ImportError: - sys.stderr.write("Please install the geoip dependency:\n\tpip install python-geoip\n") + sys.stderr.write("Please install the geoip dependency:\n\tpip install python-geoip-python3\n") sys.exit() try: