Merge pull request #39 from whoot/master

Update EmailHarvester.py
This commit is contained in:
maldevel 2019-10-05 23:53:04 +03:00 committed by GitHub
commit 34bc371ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
################################
@ -94,7 +97,7 @@ class EmailHarvester(object):
self.userAgent = userAgent
self.parser = myparser()
self.activeEngine = "None"
path = "plugins/"
path = os.path.dirname(os.path.abspath(__file__)) + "/plugins/"
plugins = {}
sys.path.insert(0, path)