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}}