diff --git a/EmailHarvester.py b/EmailHarvester.py index fad44a9..5d5b2ab 100644 --- a/EmailHarvester.py +++ b/EmailHarvester.py @@ -44,7 +44,10 @@ import validators from termcolor import colored from argparse import RawTextHelpFormatter from sys import platform as _platform -from urllib.parse import urlparse +try: + from urllib.parse import urlparse +except ImportError: + from urlparse import urlparse ################################