shot-scraper

用于自动截取网站屏幕截图的命令行工具。「A command-line utility for taking automated screenshots of websites」

Github stars Tracking Chart

shot-scraper

PyPI
Changelog
Tests
License
discord

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

Main metrics

Overview
Name With Ownersimonw/shot-scraper
Primary LanguagePython
Program language (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2022-03-08 21:21:02
Pushed At2025-03-25 01:50:01
Last Commit At
Release Count33
Last Release Name1.8 (Posted on )
First Release Name0.1a0 (Posted on )
用户参与
Stargazers Count2k
Watchers Count7
Fork Count97
Commits Count248
Has Issues Enabled
Issues Count136
Issue Open Count42
Pull Requests Count31
Pull Requests Open Count4
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private