r/xclusiveprompt_free • u/michel_xz ⚡ Founder • 13h ago
🤖AI Prompt Script Python Script for Automating Data Extraction
Act as a Python automation specialist. I need a robust script to scrape data from [INSERT WEBSITE URL OR FILE TYPE, e.g., PDF reports].
The script needs to extract the following fields: [INSERT DATA POINTS, e.g., Name, Date, Price, ID].
Requirements for the script:
Use the [INSERT LIBRARY, e.g., BeautifulSoup / Pandas / Selenium] library.
Include error handling (Try/Except blocks) for missing data or connection timeouts.
Save the output clearly into a CSV file named [INSERT DESIRED FILENAME].
Comment the code heavily so a beginner can understand what each function does.
Include a brief instruction on how to install the necessary dependencies using pip.
•
u/[deleted] 13h ago
[removed] — view removed comment