Mass Web Screenshot Tool - command line based
GPL-2.0 License
Mass Web Screenshot Tool - command line based
Take screenshot of web page
massws -o screenshot.png http://en.wikipedia.org
Take screenshot of web page, ignore SSL errors:
massws -s https://en.wikipedia.org
Take screenshot of web page in 800x600
massws -x 800 -y 600 -o screenshot.png http://en.wikipedia.org
Take screenshot of list of URLs in list-of-urls.txt (also ignore TLS/SSL errors):
cat list-of-urls.txt | xargs -i massws -s -x 800 -y 600 {}
Due to QT WebKit requirements, GUI is required. Therefore Linux version requires any X11 display (it does not use it, but it have to be there!). Mac OS X and Windows are mostly graphical, so it is hard to notice.
Therefore, you can use xvfb as dummy X11 display for this tool on headless setups.
git clone https://github.com/kost/massws.git
cd massws
cd src
qmake
make