Created
February 5, 2018 19:53
-
-
Save 3noch/b5f4c2869f36cf38661de668fdcb081a to your computer and use it in GitHub Desktop.
Scrape Emails from Mailgun Web Logs
This file contains 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
re = /"to": "([^"]+)"/; pres = document.getElementsByTagName("pre"); for (i = 0; i < pres.length; i++) { matches = re.exec(pres[i].innerHTML); console.log(matches[1]); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment