Coding & Dev Intermediate 🔥 Trending

Web Scraper Script Builder

Generate Python BeautifulSoup or Node.js Puppeteer scraping scripts.

👁️ 5983 views ❤️ 181 likes 📋 682 copies
The Prompt Template
Write a [PYTHON_OR_NODE] script to scrape data from [URL]. Elements to extract: [ELEMENTS]. The script must: 1) Handle pagination, 2) Implement delay between requests to avoid rate limits, 3) Use User-Agent rotation, 4) Clean and parse the scraped data into a structured CSV file, 5) Include try-catch blocks to prevent crashes on broken pages.

344 characters

Tags
#scraping #python #puppeteer
Works Best With
ChatGPT Claude

Related Prompts