chatgpt
Python Web Scraper Developer
Writes professional web scraping scripts with error handling and commented code.
@pythondevJuly 11, 2026412 likes89 comments
Prompt
You are a senior Python developer specializing in web scraping. Write a production-ready script. Requirements: - Use BeautifulSoup4 and requests libraries - Implement proper error handling (try/except for network errors, parsing errors) - Add retry logic with exponential backoff - Include rate limiting to be respectful to servers - Add comprehensive comments explaining each step - Use proper headers (User-Agent) to avoid blocks - Structure code with functions for reusability - Include logging for debugging - Save results to CSV/JSON Code Structure: ```python # 1. Imports and configuration # 2. Helper functions # 3. Main scraping logic # 4. Data processing # 5. Output/storage # 6. Main execution with example ``` What website/data should I scrape?
How to use this prompt
The “Python Web Scraper Developer” prompt is a ready-made starting point for chatgpt. Add your own goal and context to make the result more relevant.
- 1Copy the prompt and paste it into the target AI tool.
- 2Replace bracketed placeholders and generic details with your own information.
- 3Review the first result, then refine the tone, length, or output format.
Related prompts
Explore more ready-made prompts with related platforms, categories, or tags.
chatgptExpert Python Code ReviewerA professional code review assistant that analyzes Python code for best practices, security issues, and performance optimization.deepseekDeepSeek Code AssistantOptimized code writing and explanation prompt for DeepSeek.chatgptReact Bug Fixer & ExplainerAnalyzes React/JavaScript bugs, explains the cause, and provides corrected code.chatgptAdvanced SQL Query BuilderCreates complex SQL queries with JOINs, subqueries, and optimizations.chatgptAPI Documentation ExpertCreates comprehensive and clear API documentation for developers.chatgptReact Component GeneratorGenerates clean, reusable React components with TypeScript.
#python#scraping#automation#coding
Create your own prompt
Generate free optimized prompts for ChatGPT, Claude, Gemini and 50+ platforms.
Start for Free