https://github.com/kost/massws
Mass Web Screenshot Tool - command line based
https://github.com/kost/massws
Last synced: 9 months ago
JSON representation
Mass Web Screenshot Tool - command line based
- Host: GitHub
- URL: https://github.com/kost/massws
- Owner: kost
- License: gpl-2.0
- Created: 2015-06-19T20:14:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-28T07:02:52.000Z (almost 10 years ago)
- Last Synced: 2025-04-21T04:43:43.538Z (over 1 year ago)
- Language: C++
- Size: 12.7 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/kost/massws)
# massws
Mass Web Screenshot Tool - command line based
# Requirements
- QT5
- Windows, Mac OS X or Linux
# Examples
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 {}
```
# Notice
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.
# Building
```
git clone https://github.com/kost/massws.git
cd massws
cd src
qmake
make
```