Coding & Dev
Intermediate
🔥 Trending
Web Scraper Script Builder-3
Generate Python BeautifulSoup or Node.js Puppeteer scraping scripts.
👁️ 7435 views
❤️ 520 likes
📋 924 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
Works Best With
ChatGPT Claude