screenshot-pages
v1.0.0
Published
Bulk screnshot pages with desired resolution
Downloads
2
Maintainers
Readme
Website Screenshoter
Use this Node.js module to bulk screnshot pages with desired resolution.
Usage
- Install Node.js if you don't have one. You need version
13.2
or higher. - Clone this repository from GitHub
- Fill
params.json
with parameters you need. You can customize format, dimensions, pixel ratio and more. Don't forget to put array of links to the needed pages.
{
"path": "./screenshots",
"useAdblock": true,
"viewports": [
"1440x900",
"360x900"
],
"format": "png",
"scale": "2x",
"fullPage": false,
"pages": [
"https://google.com",
"https://linkedin.com",
"https://qurle.net/"
]
}
If you want to capture the whole page, set fullPage: true
. Otherwise you'll get only start of the page.
4. Open your terminal and run node /path/to/screenshot-pages/
Your screenshots will appear in screenshot-pages directory.