ee.Screen

Takes screenshots of web pages for the list of URLs. Various resolutions, multiple formats (JPG, PDF, PNG and TXT)

ee.Screen

ee.Screen allows to take screenshots of web pages according to a list of URLs. The script supports various resolutions and several formats - JPG, PDF, PNG and TXT. Also, headless mode allows to use very high resolutions, such as 5000*5000 pixels. This can be useful, for example, if you need to take a large screenshot from Google Maps.

» download version 20201108


Requirements

ee.Screen uses NodeJS and Google Chrome Puppeteer. To install NodeJS, visit nodejs.org. To install Puppeteer, after NodeJS is installed, open a Windows Command Prompt and type

npm install --save puppeteer


Quick start

  1. Unpack the downloaded archive
  2. Open urls.txt in a text editor and paste the URLs of the required pages instead of existing samples
  3. Save urls.txt, then run run.bat
  4. See result in \screenshots folder


Usage

The common way to use the script is to run it from the Windows Command Prompt with the path to the URL list file as an argument:

node "c:\path\to\ee.screen.js" "c:\path\to\list\file.txt"


Description of the URL list file

The line has the following format:

url,width*height,output

Quotes are only needed if the field contains a comma. The order of the fields in the line does not matter. For example:

"https://news.sky.com/world",1280*1024,"D:\My files\screenshot01.jpg"


More examples

To take PNG screenshot, 1280p width and full page height, save as \screenshots\https_news.sky.com_world.png:

https://news.sky.com/world

To take JPG and PDF screenshots, 1280p width and full page height, save as \20210101\https_news.sky.com_world.jpg and \20210101\https_news.sky.com_world.pdf:

https://news.sky.com/world,"*YYYYMMDD*\.jpg+pdf"

To take PNG screenshot, 1024p width and 768p height, save as D:\My files\new screenshot.png:

https://news.sky.com/world,1024*768,"D:\My files\new screenshot"


Other notes


Terms of use


Developer info


Tested configuration


Tags

automated batch bulk jpg list multiple pdf png screenshots snapshots text txt url webpages


About

Takes screenshots of web pages according to a list of URLs. Supports various resolutions and several formats - JPG, PDF, PNG and TXT


[program page] [start page] [author e-mail]