New Video: Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Hey all! New video alert! 🚀 Been pumping out videos quickly... I'll be out this weekend so will be roughly a week until my next upload. Was going to schedule upload them but I was too excited. In this video, I’ll show you exactly how to do it using n8n! 🔍 From setting up the workflow to automating the entire process, I’ll guide you step-by-step to feed in custom searches, scrape the data, and optimize it. 📊 Finally, we’ll send everything straight to Google Sheets for easy access! Enjoy the video, let me know your guys' thoughts! Here are the code snippets: Code Node #1: const data = $input.first().json.data const regex = /https?:\/\/[^\/]+/g urls = data.match(regex) return urls.map(url => ({json: {url: url}})) Code Node #2 const data = $json.data const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.(?!png|jpg|gif|jpeg)[a-zA-Z]{2,}/g emails = data.match(emailRegex) console.log(emails) return {json: {emails: emails}}