Created
September 4, 2019 23:33
-
-
Save chrispetrou/97f188f6d766c8ebace30dc4e18ca1a8 to your computer and use it in GitHub Desktop.
Tiny snippet that collects emails from webpage...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, re, requests | |
for email in list(set(re.findall(r'([^\s":<>]+@[^\s":<>]+[.][^\s":<>]+)', requests.get(sys.argv[1], verify=False).text))): print(email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment