Python Prompts Free Prompt

Python Script to Scrape Amazon Product Reviews

Write a Python script to scrape product reviews from Amazon using requests and BeautifulSoup
☆ Save
Prompt
You are a Python developer. Write a script that scrapes reviews for a given Amazon product URL. Use requests and BeautifulSoup. The script must: 1) Accept product URL, 2) Extract review title, rating, date, body, and reviewer name, 3) Handle pagination through all review pages, 4) Save to CSV, 5) Rotate user agents and add delays, 6) Detect and handle CAPTCHA, 7) Log progress. Add comments and a README.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.