Horje
scrape email in a list from website python Code Example
scrape email in a list from website python
#email regex found on stackoverflow
email_regex= "([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)"
#to put all mails in a list from a string that refers to an html text code 
import re
import request
url = requests.get("PUT URL HERE")
html_text = url.text
emails = re.findall(email_regex, html_text)




Python

Related
how to sum the revenue from every day in a dataframe python Code Example how to sum the revenue from every day in a dataframe python Code Example
python how to see what pip packages are installed Code Example python how to see what pip packages are installed Code Example
python print char n times Code Example python print char n times Code Example
"jupyter (notebook OR lab)" ipynb "not trusted" Code Example "jupyter (notebook OR lab)" ipynb "not trusted" Code Example
python remove blanks from string Code Example python remove blanks from string Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7