Powered by coANDco UK

How to make website screenshots from the command line

From How2s

I am using the following instructions:

http://www.blogs.uni-osnabrueck.de/rotapken/2008/12/03/create-screenshots-of-a-web-page-using-python-and-qtwebkit/


apt-get install libqt4-webkit
apt-get install python-qt4 

get the latest version of webkit2png from http://github.com/AdamN/python-webkit2png/

apt-get install xvfb

Try executing the Script somehow along the lines of

/usr/bin/python /path/to/script/webkit2png.py --xvfb 640 480 --format png -o output.png --aspect-ratio keep 'http://www.coandcouk.com'


See also: How to create screenshots of websites via command line with Firefox

Please check out our sponsor, thanks to whom How2s.org is FREE: