Skip to content

A small program that uses python3 and pageres to take screenshots from a list of paths in a file.

Notifications You must be signed in to change notification settings

JimSRush/screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

screenshot.py

This is a small command line python script that:

  • takes a file from the command line with a list of relative paths
  • loops through the file and uses pageres to screenshot and dump out jpg images of what it sees.

This is particularly useful for large CMS driven websites in lieu of comprehensive visual regression. or whatever

What the file needs to look like

/path-to/some-other-url
/path-to/some-new-url
/path-to/some-oh-you-get-it

Prerequisites

npm i pagres-cli python3

usage

python3 snapshot.py -b https://mycool.website -f myAwesomeFile

About

A small program that uses python3 and pageres to take screenshots from a list of paths in a file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages