Build the website scraping loop
Now for the core scraping logic. You'll use Split In Batches to loop through each website URL, fetch its HTML content, and extract email addresses using regex.
The Split In Batches node is n8n's way of processing items one at a time. It has two outputs: one for the current batch (the item being processed) and one for when all items are done.
Cet exercice fait partie du cours
<cours>Building Marketing Workflows with n8n</cours>Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice