Skip to main content

A command-line utility for taking automated screenshots of websites

Project description

shot-scraper

PyPI Changelog Tests License

A command-line utility for taking automated screenshots of websites

For background on this project see shot-scraper: automated screenshots for documentation, built on Playwright.

Documentation

Get started with GitHub Actions

To get started without installing any software, use the shot-scraper-template template to create your own GitHub repository which takes screenshots of a page using shot-scraper. See Instantly create a GitHub repository to take screenshots of a web page for details.

Quick installation

You can install the shot-scraper CLI tool using pip:

pip install shot-scraper
# Now install the browser it needs:
shot-scraper install

Taking your first screenshot

You can take a screenshot of a web page like this:

shot-scraper https://datasette.io/

This will create a screenshot in a file called datasette-io.png.

Many more options are available, see Taking a screenshot for details.

Examples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shot-scraper-1.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

shot_scraper-1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file shot-scraper-1.1.tar.gz.

File metadata

  • Download URL: shot-scraper-1.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for shot-scraper-1.1.tar.gz
Algorithm Hash digest
SHA256 b369b32b8b24960086af7c3a431fff775fec040242f57a06745a54d3a15e4116
MD5 5c9cf9bf095caac80b91b2124d79530f
BLAKE2b-256 6185b5cc65d5b743626eb79ffb8c377cc0c105e96936401440d4894ec9d1ba45

See more details on using hashes here.

File details

Details for the file shot_scraper-1.1-py3-none-any.whl.

File metadata

  • Download URL: shot_scraper-1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for shot_scraper-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b971a7f252bbed9534b31b642c1931123242e6cc7edf4ce8100ccf07fad9f7d
MD5 2a933533214aebdcd5f98742b50a8585
BLAKE2b-256 ac811f642effb35bea4825f40d1568b21da954475a3f328f96159e3715e452b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page