KalyanM45/Article-Web-Scraping — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python project that pulls articles from The Guardian using their API, starting with the technology section. I want it to fetch a list of articles, open each one, grab the title and main article text, and save every article into its own plain text file. Please organize the output inside a folder named with the date and time the scrape was run so I can keep multiple runs separate.
Make it easy for me to switch to a different Guardian section later, so I am not stuck with just technology. I also need a clear place to put my Guardian API key, and the script should be easy to run from the command line with one command. If an article has missing content or something fails, handle it cleanly and keep going instead of crashing.
Please include the dependencies file and a short README with setup and usage notes. If anything about the Guardian API has changed, look up the current docs online and wire it up the right way.
Want more depth? Deep Reverse