Library / Web Scraping & Research
Web Scraping & Research
Extract Email Addresses from Website HTML
When a URL is sent to a webhook, the page HTML is fetched, email addresses are extracted and de-duplicated, and the list is returned.
What it does
# How to scrap emails from websites This workflow shows how you can quickly build an Email scraping API using n8n. Usage Copy the webhook URL to your browser and add a query parameter eg {{$n8nhosteingurl/webhook/ea568868-5770-4b2a-8893-700b344c995e?Website=https://mailsafi.com This will return the email address on the website or if there is no email, the response will be "workflow successfully executed" # Make sure to use HTTP:// for your domains Otherwise, you may get an error.
The steps
- Split Out
- Remove Duplicates
- Respond to Webhook
- Webhook
- Get the website data
- Extract the emails found
- If contains email
Similar automations