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

Uploaded Source

Built Distribution

shot_scraper-0.17-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shot-scraper-0.17.tar.gz
Algorithm Hash digest
SHA256 27164019da51f041c066937dbc15307ead25a30b9e66e6f4759966d7a85e5bb5
MD5 18640828fd616fd5075af15baa3563f8
BLAKE2b-256 c3e15189e8a94f9a707fb65dc9e0bc9479e3d3ac3c6cacc63bc6cb7adfc8116b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shot_scraper-0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f49df5a65a96292a3c590f21c9d9f61ca07ce9ded2983c0995666fd5c09c60de
MD5 80377234d80ed641b171ac890abfc544
BLAKE2b-256 1009e6ab9b79147e802c539c9472e8c2277b8800793f9c7ddbebbfeb882b5af7

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