Taking automated webpage screenshots with embedded Mozilla
June 13th, 2004 | Published in python
The other day I discovered Hotlinks, a rather nice link aggregator. It collects links from sites (including those of a couple of my respected colleagues) and combines them into a good-looking summary page. I particularly like the automatic webpage thumbnails it makes, which are created using khtml2png. I couldn’t get khtml2png to compile on my machine. After finding that there are now python wrappers for GtkMozEmbed, I made my own screenshotter-and-thumbnailer by embedding the Mozilla browser component using a little python script.
UPDATE: Ross Burton picked up the script and made a couple of enhancements. Miguel de Icaza posted a C# version.