adamn/python-webkit2png — reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python tool that can take a screenshot of a web page, basically a browsershot script that loads a URL in a WebKit based browser view and saves the page as an image. I want it to feel like a small command line utility I can install and run easily, with a clear help command and sensible options for things like output filename and maybe page size if that makes sense.

Please make it usable on Linux, especially Ubuntu, and keep headless server use in mind so it can run without me needing a full desktop session. If there are system packages I need first, spell them out clearly in the setup instructions. Also make sure the project can be installed the normal Python way and has a short README showing how to install it and run a basic screenshot command.

Keep the scope tight and practical, just a reliable way to turn a web page into a PNG screenshot. Look up current docs online if you need to.

Want more depth? Deep Reverse