/screenscraper

Take screenshots of multiple urls, in multiple viewports with Node.js

Primary LanguageJavaScript

Screenscraper

A Node.js tool that let you take screenshots of multiple urls, in multiple viewports.

From this:

    {
        "title": "Example",
        "url": "http://example.com"
    }

To this:

alt text

Dependencies

Usage

Install everything: npm i

Populate pages.json file

[
    {
        "title": "Example",
        "url": "http://example.com"
    }, {
        ...
    }
]

Run: npm run start or node screens.js

Todo

  • viewport screens
  • compress screenshots
  • zip screenshots
  • enable wetransfer
  • get urls from json
  • get urls from xml