Last active
June 5, 2018 11:38
-
-
Save bestrocker221/084cdf1fb86d09f4506488a43b30c813 to your computer and use it in GitHub Desktop.
Get email addresses from web page.
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
#!/bin/bash | |
#$1 is the URL | |
curl -s $1 | grep -Po 'mailto:[[:print:]]*@[a-zA-Z0-9]*\.[a-z]{2,3}' | sed -e 's/mailto://g' | cut -f1 -d"\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment