Python Prompts Free Prompt

Python Script to Scrape Goodreads Book Reviews

Write a Python script that scrapes book reviews from Goodreads
☆ Save
Prompt
You are a Python developer. Write a script that given a Goodreads book URL, scrapes reviews. Use Selenium or requests. The script must: 1) Accept URL, 2) Extract reviewer name, rating, review text, date, 3) Handle pagination, 4) Save to CSV, 5) Rotate user agents, 6) Handle CAPTCHA, 7) Log errors. Add comments.

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.