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

Full documentation can be found at shot-scraper.datasette.io

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shot-scraper-0.15.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.15.tar.gz
Algorithm Hash digest
SHA256 0af995b16b92944bd9331bd617e75e8b2db09df5acb01dd729f61cfc332f90e3
MD5 0a00bb28890ce76d6e39b6ee6b3a1fbc
BLAKE2b-256 4b8137a1ae703c9ba35f9e9df72e85cc0a632f2c88820ca05b31c95850417769

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shot_scraper-0.15-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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 017196ef53cd6805db41f36df1e962c5a55df484f82a7e507f547e4568983d21
MD5 b4e54a8999f0a9e5b8f51f48fe6d171e
BLAKE2b-256 f82f6a684389f16d776ac5fd778ac4e1d9735eaa2a0c96a93517337bd1616d23

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