Рет қаралды 5,738
In this tutorial I explain how to automatically scrape Amazon search results using Puppeteer, Scraping Browser and n8n.
In this tutorial I cover:
1. Creating a base Puppeteer script to retrieve data from Amazon search results (product names, prices, ratings etc.)
2. Key issues while scraping Amazon
3. Implementing Scraping Browser into the code
4. Adjusting the script and deploying function to Google Cloud Functions
5. Automating the scraping using n8n (transferring results to Baserow)
Resources:
1. Puppeteer script (for local use): gist.github.com/workfloows/d7...
2. Puppeteer script (for local use with Scraping Browser): gist.github.com/workfloows/1d...
3. Puppeteer script (for use with Scraping Browser on Google Cloud Functions): gist.github.com/workfloows/5a...
4. Scraping Browser API: brightdata.com/products/scrap...
5. Docs for Scraping Browser troubleshooting : help.brightdata.com/hc/en-us/...
My other tutorials:
1. How to build voice Telegram AI bot with n8n, Whisper and ElevenLabs: workfloows.gumroad.com/l/tele...
2. How to build Telegram AI bot with n8n and 🦜🔗 LangChain (FlowiseAI): • How to build Telegram ...
3. Web scraping data with n8n and Puppeteer: • Web scraping data with...
4. How to automate Notion databases using n8n: • How to automate Notion...
5. Using webhooks in n8n (parameters, responses and triggers): • Using webhooks in n8n ...
Subscribe my newsletter: workfloows.com/
Visit my Gumroad profile: workfloows.gumroad.com/
Follow me on Twitter/X: / workfloows
Follow Workfloows on LinkedIn: / workfloows
Disclaimer: I cannot be held responsible for any consequences resulting from the use of the information provided in this tutorial. Make sure to obtain proper authorization before engaging in web scraping activities, or consider using proxies to protect your online presence and ensure ethical scraping practices.
Create your Bright Data account and get $10 credit: brdta.com/workfloows
Create your n8n cloud account here (affiliate): n8ngmbh.partnerlinks.io/6hvl7...
Screen recording software that I use (affiliate): www.screen.studio/@jmMwX
0:00 Final result
1:05 Step 1: Install Puppeteer
1:57 Step 2: Add scraping script
6:48 Step 3: Connect Scraping Browser API
9:14 Step 4: Adjust code to Google Cloud Functions
9:59 Step 5: Deploy function to Google Cloud Functions
12:03 Step 6: Automate scraping with n8n