Screenshots with webkit2png

webkit2png in batch mode with parallel

Official

Installing

brew install webkit2png

chmod a+x /path/to/webkit2png

Run in batch

date=$(date +%Y%m%d_%H%M%S)
mkdir $date
cd $date
cat ../URls3.txt | parallel 'webkit2png -F {}'

urls.txt (example)

https://www.bbc.co.uk/news
https://news.ycombinator.com/
https://www.dailymail.co.uk/home/index.html
https://www.telegraph.co.uk
https://www.standard.co.uk/
https://www.thetimes.co.uk/index.html
https://www.nytimes.com/
https://www.thesun.co.uk/
https://www.mirror.co.uk/
https://www.express.co.uk/

Help

webkit2png http://google.com/            # screengrab google
webkit2png -W 1000 -H 1000 http://google.com/ # bigger screengrab of google
webkit2png -T http://google.com/         # just the thumbnail screengrab
webkit2png -TF http://google.com/        # just thumbnail and fullsize grab
webkit2png -o foo http://google.com/     # save images as "foo-thumb.png" etc
webkit2png -                             # screengrab urls from stdin
webkit2png /path/to/file.html            # screengrab local html file
webkit2png -h | less                     # full documentation

Installing on linux

yum install libqt4-webkit