PKHarsimran/website-downloader ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python command line tool that can take a website URL and save a full offline copy of it into a local folder. I want it to download the pages and also pull in the images, CSS, JavaScript, fonts, and other assets so I can open the saved index page in my browser and have it work offline with the links rewritten correctly.

It should handle a few practical things too, like limiting how many pages it crawls, following links from a sitemap when available, using cookies or custom headers for sites I’m allowed to access, and optionally updating an existing mirror without redownloading unchanged files. If it makes sense, add an option for rendering JavaScript heavy sites, plus exporting the result as a zip or WARC file. Keep the interface simple and polished, with a progress display and sensible defaults. Use current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab