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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shot-scraper-0.15.1.tar.gz
  • Upload date:
  • Size: 14.2 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.1.tar.gz
Algorithm Hash digest
SHA256 a51ed8082638bc215c597e1ac8e936755c88ebd65fb1966d30370ae6028e5897
MD5 fdbff165a8438a658604413a81936702
BLAKE2b-256 837097fa10d15b828ad4c6fd374ce8f77802d56f232b70eca08f4e97df9366aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shot_scraper-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01d171354a77a0eee57717414df52f3c868fef226895939cad192c92f5c5fdd7
MD5 ed2b2f4ce1434b509db483bfcd72d2f5
BLAKE2b-256 ac89a4c265735be0e39f9363bfa652c5ac98b5882e34ecf476f3ea766dedbec7

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