Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions EmailHarvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def genericClean(self):
def emails(self):
self.genericClean()
reg_emails = re.compile(
'[a-zA-Z0-9.\-_+#~!$&\',;=:]+' +
r'[a-zA-Z0-9.\-_+#~!$&\',;=:]+' +
'@' +
'[a-zA-Z0-9.-]*' +
r'[a-zA-Z0-9.-]*' +
self.word)
self.temp = reg_emails.findall(self.results)
emails = self.unique()
Expand Down Expand Up @@ -198,7 +198,7 @@ def checkDomain(value):

if __name__ == '__main__':

parser = argparse.ArgumentParser(description="""
parser = argparse.ArgumentParser(description=r"""

_____ _ _ _ _ _
| ___| (_)| | | | | | | |
Expand Down Expand Up @@ -233,7 +233,7 @@ def checkDomain(value):
parser.add_argument('-p', '--list-plugins', action='store_true', dest='listplugins',
default=False, help='List all available plugins.')

if len(sys.argv) is 1:
if len(sys.argv) == 1:
parser.print_help()
sys.exit()

Expand Down