1#email regex found on stackoverflow
2email_regex= "([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)"
3#to put all mails in a list from a string that refers to an html text code
4import re
5import request
6url = requests.get("PUT URL HERE")
7html_text = url.text
8emails = re.findall(email_regex, html_text)