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-0.16.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

shot_scraper-0.16-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shot-scraper-0.16.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for shot-scraper-0.16.tar.gz
Algorithm Hash digest
SHA256 e07adfd4e5f1c824c2c886bd1cefd823df76b1800a4c37991f70d2414270ac7e
MD5 c258a2a9a7457ec063e7d45eeb49c125
BLAKE2b-256 890716232e958a8e4945aad20aaf336efe20418848fc3857ac7b58f98f3e641e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shot_scraper-0.16-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for shot_scraper-0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 f594fbcb95098cb4c78f0b93ab1ecb7458a48f5b90c8e1816281af0beab775a3
MD5 5b4c311accd2c9972a35470a5a2e6581
BLAKE2b-256 8d45eec6aa9c4f0fe546e2f1f081afd785da1b934cff59e7ca8651ef4081bd6b

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