This prompt helps you generate a custom Python web scraping script tailored to your specific data collection needs. By providing details about the target website and your requirements, you'll receive ready-to-use code for automated data gathering.
Simply provide information for each of the required variables in the prompt. Be as specific as possible about what data you need to collect and how you want to handle it. The generated script will be adapted to your specifications for the target website.
For best results:
{{website}}
: The URL of the website you want to scrape (e.g., "https://example.com/products"){{type}}
: Type of website (e.g., "e-commerce site," "news portal," "forum," "blog"){{data}}
: Specific information you want to extract (e.g., "product prices and names," "article headlines and dates," "user comments"){{os}}
: Operating system where the script will run (e.g., "Windows 10," "macOS," "Ubuntu Linux"){{frequency}}
: How often the script should run (e.g., "daily," "hourly," "every 15 minutes," "once"){{error}}
: Error handling behavior (e.g., "log errors to a file," "send email notifications," "retry three times"){{format}}
: Output data format (e.g., "CSV," "JSON," "Excel," "SQL database"){{storage}}
: Where to store the collected data (e.g., "local directory," "S3 bucket," "Google Drive," "MySQL database")